类 CompositeSessionIdResolver
java.lang.Object
cn.taketoday.session.CompositeSessionIdResolver
- 所有已实现的接口:
SessionIdResolver
- 从以下版本开始:
- 3.0
- 作者:
- TODAY 2021/3/20 11:20
-
字段概要
字段从接口继承的字段 cn.taketoday.session.SessionIdResolver
WRITTEN_SESSION_ID_ATTR -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidexpireSession(RequestContext context) Instruct the client to end the current session.getSessionId(RequestContext context) Resolving session id from RequestContextvoidsetSessionId(RequestContext context, String session) Send the given session id to the client.
-
字段详细资料
-
resolvers
-
-
构造器详细资料
-
CompositeSessionIdResolver
-
-
方法详细资料
-
getSessionId
从接口复制的说明:SessionIdResolverResolving session id from RequestContextsession id including
applied session id- 指定者:
getSessionId在接口中SessionIdResolver- 参数:
context- request context- 返回:
- session id
-
setSessionId
从接口复制的说明:SessionIdResolverSend the given session id to the client.- 指定者:
setSessionId在接口中SessionIdResolver- 参数:
context- the current contextsession- the session id
-
expireSession
从接口复制的说明:SessionIdResolverInstruct the client to end the current session.- 指定者:
expireSession在接口中SessionIdResolver- 参数:
context- the current exchange
-