public interface HttpSessionIdResolver
| Modifier and Type | Method and Description |
|---|---|
void |
expireSession(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Instruct the client to end the current session.
|
java.util.List<java.lang.String> |
resolveSessionIds(javax.servlet.http.HttpServletRequest request)
Resolve the session ids associated with the provided
HttpServletRequest. |
void |
setSessionId(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String sessionId)
Send the given session id to the client.
|
java.util.List<java.lang.String> resolveSessionIds(javax.servlet.http.HttpServletRequest request)
HttpServletRequest.
For example, the session id might come from a cookie or a request header.request - the current requestvoid setSessionId(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String sessionId)
request - the current requestresponse - the current responsesessionId - the session idvoid expireSession(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
request - the current requestresponse - the current response