Skip to content

Use RequestContextFilter instead of RequestContextListener  #2637

@cemo

Description

@cemo

We have an issue with Spring Session with RequestContextListener described at here. This is issue opened as a request by @philwebb.

Basically ContextListener is setting request very early and it should be set after Spring Session Filter. RequestContextFilter has a nice advantage over listener. Filter is setting response as well and accessing Response by a static reference as Request is very useful. Please consider changing default behaviour to RequestContextFilter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions