open class SessionScope : AbstractRequestAttributesScope
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
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. |
open fun get(name: String, objectFactory: ObjectFactory<*>): Any |
|
open fun getConversationId(): String |
|
open fun remove(name: String): Any |