public interface SessionManager
Request.| Modifier and Type | Method and Description |
|---|---|
String |
changeSessionId(Request request,
Session session)
Change the
Session id and return the original id. |
void |
configureSessionCookie(Request request,
org.glassfish.grizzly.http.Cookie cookie)
Configure session cookie before adding it to the
Request.getResponse(). |
Session |
createSession(Request request)
|
Session |
getSession(Request request,
String requestedSessionId)
Return the session associated with this Request, creating one
if necessary and requested.
|
String |
getSessionCookieName() |
void |
setSessionCookieName(String name)
Set the session cookie name that will be used by sessions created by this
SessionManager. |
Session getSession(Request request, String requestedSessionId)
String changeSessionId(Request request, Session session)
Session id and return the original id.void configureSessionCookie(Request request, org.glassfish.grizzly.http.Cookie cookie)
Request.getResponse().request - cookie - void setSessionCookieName(String name)
SessionManager.name - the session cookie nameString getSessionCookieName()
Copyright © 2020 Oracle Corporation. All Rights Reserved.