public class ServletSessionManager extends Object implements org.glassfish.grizzly.http.server.SessionManager
SessionManager implementation.| Modifier and Type | Method and Description |
|---|---|
String |
changeSessionId(org.glassfish.grizzly.http.server.Request request,
org.glassfish.grizzly.http.server.Session session) |
void |
configureSessionCookie(org.glassfish.grizzly.http.server.Request request,
org.glassfish.grizzly.http.Cookie cookie) |
org.glassfish.grizzly.http.server.Session |
createSession(org.glassfish.grizzly.http.server.Request request) |
org.glassfish.grizzly.http.server.Session |
getSession(org.glassfish.grizzly.http.server.Request request,
String requestedSessionId) |
String |
getSessionCookieName() |
static org.glassfish.grizzly.http.server.SessionManager |
instance() |
void |
setSessionCookieName(String name) |
public static org.glassfish.grizzly.http.server.SessionManager instance()
public org.glassfish.grizzly.http.server.Session getSession(org.glassfish.grizzly.http.server.Request request,
String requestedSessionId)
getSession in interface org.glassfish.grizzly.http.server.SessionManagerpublic org.glassfish.grizzly.http.server.Session createSession(org.glassfish.grizzly.http.server.Request request)
createSession in interface org.glassfish.grizzly.http.server.SessionManagerpublic String changeSessionId(org.glassfish.grizzly.http.server.Request request, org.glassfish.grizzly.http.server.Session session)
changeSessionId in interface org.glassfish.grizzly.http.server.SessionManagerpublic void configureSessionCookie(org.glassfish.grizzly.http.server.Request request,
org.glassfish.grizzly.http.Cookie cookie)
configureSessionCookie in interface org.glassfish.grizzly.http.server.SessionManagerpublic void setSessionCookieName(String name)
setSessionCookieName in interface org.glassfish.grizzly.http.server.SessionManagerpublic String getSessionCookieName()
getSessionCookieName in interface org.glassfish.grizzly.http.server.SessionManagerCopyright © 2019 Oracle Corporation. All Rights Reserved.