程序包 cn.taketoday.session
@NonNullApi
@NonNullFields
package cn.taketoday.session
Web Session Supports like Servlet's Session
- 从以下版本开始:
- 3.0
- 作者:
- TODAY 2021/4/2 21:01
-
类说明Session events supported WebSessionCauses an object to be notified when it is bound to or unbound from a session.A
SessionIdResolverthat uses a cookie to obtain the session from.Default implementation ofSessionManagerdelegating to aSessionIdResolverfor session id resolution and to aSessionRepository.Concrete implementation of the SessionPersister interface that utilizes a file per saved Session in a configured directory.AHeaderSessionIdResolverthat uses a header to resolve the session id.Memory basedSessionRepositoryAWebSessionimplementation that is backed by aMap.SessionRepository implementation for session persistenceASessionIdGeneratorthat uses a secure random to generate a session ID.SessionManager supported HandlerInterceptorStrategy for generating session ID's.Contract for session id resolution strategies.Main class for access to theWebSessionfor an HTTP request.SessionManagerforWebSessionType-based parameter resolvingA SessionPersister that provides persistent storage and loading of Sessions and their associated user data.WebSessionStorageAn exception that indicates the maximum number of active sessions has been reached and the server is refusing to create any new sessions.Main contract for using a server-side session that provides access to session attributes across HTTP requests.This listener interface can be implemented in order to get notifications of changes to the attribute lists of sessions within this web application.resolve attribute fromWebSessionThis is the class representing event notifications for changes to sessions within a web application.Interface for receiving notification events about WebSession lifecycle changes.Exception thrown when an HTTP request handler requires a pre-existing session.