spring-framework / org.springframework.web.context.request / SessionScope / <init>

<init>

SessionScope()

Session-backed org.springframework.beans.factory.config.Scope implementation.

Relies on a thread-bound RequestAttributes instance, which can be exported through RequestContextListener, org.springframework.web.filter.RequestContextFilter or org.springframework.web.servlet.DispatcherServlet.

Author
Rod Johnson

Author
Juergen Hoeller

Author
Rob Harrop

Since
2.0

See Also
RequestContextHolder#currentRequestAttributes()RequestAttributes#SCOPE_SESSIONRequestContextListenerorg.springframework.web.filter.RequestContextFilterorg.springframework.web.servlet.DispatcherServlet