public class GSLazySessionManager extends Object implements org.eclipse.jetty.util.component.LifeCycle, org.eclipse.jetty.server.SessionManager
__CheckRemoteSessionEncoding, __DefaultSessionCookie, __DefaultSessionDomain, __DefaultSessionIdPathParameterName, __MaxAgeProperty, __SessionCookieProperty, __SessionDomainProperty, __SessionIdPathParameterNameProperty, __SessionPathProperty| Constructor and Description |
|---|
GSLazySessionManager() |
GSLazySessionManager(org.eclipse.jetty.server.SessionManager defaultSessionManager) |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.jetty.http.HttpCookie |
access(javax.servlet.http.HttpSession session,
boolean secure) |
void |
addEventListener(EventListener listener) |
void |
addLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener listener) |
void |
clearEventListeners() |
void |
complete(javax.servlet.http.HttpSession session) |
String |
getClusterId(javax.servlet.http.HttpSession session) |
Set<javax.servlet.SessionTrackingMode> |
getDefaultSessionTrackingModes() |
Set<javax.servlet.SessionTrackingMode> |
getEffectiveSessionTrackingModes() |
boolean |
getHttpOnly() |
javax.servlet.http.HttpSession |
getHttpSession(String nodeId) |
int |
getMaxInactiveInterval() |
org.eclipse.jetty.server.SessionIdManager |
getMetaManager()
Deprecated.
|
String |
getNodeId(javax.servlet.http.HttpSession session) |
org.eclipse.jetty.http.HttpCookie |
getSessionCookie(javax.servlet.http.HttpSession session,
String contextPath,
boolean requestIsSecure) |
javax.servlet.SessionCookieConfig |
getSessionCookieConfig() |
org.eclipse.jetty.server.SessionIdManager |
getSessionIdManager() |
String |
getSessionIdPathParameterName() |
String |
getSessionIdPathParameterNamePrefix() |
boolean |
isCheckingRemoteSessionIdEncoding() |
boolean |
isFailed() |
boolean |
isRunning() |
boolean |
isStarted() |
boolean |
isStarting() |
boolean |
isStopped() |
boolean |
isStopping() |
boolean |
isUsingCookies() |
boolean |
isUsingURLs() |
boolean |
isValid(javax.servlet.http.HttpSession session) |
javax.servlet.http.HttpSession |
newHttpSession(javax.servlet.http.HttpServletRequest request) |
void |
removeEventListener(EventListener listener) |
void |
removeLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener listener) |
void |
renewSessionId(String oldClusterId,
String oldNodeId,
String newClusterId,
String newNodeId) |
void |
replaceDefault(org.eclipse.jetty.server.SessionManager sessionManager) |
void |
setCheckingRemoteSessionIdEncoding(boolean remote) |
void |
setMaxInactiveInterval(int seconds) |
void |
setSessionHandler(org.eclipse.jetty.server.session.SessionHandler sessionHandler) |
void |
setSessionIdManager(org.eclipse.jetty.server.SessionIdManager metaManager) |
void |
setSessionIdPathParameterName(String param) |
void |
setSessionTrackingModes(Set<javax.servlet.SessionTrackingMode> sessionTrackingModes) |
void |
start() |
void |
stop() |
public GSLazySessionManager()
public GSLazySessionManager(org.eclipse.jetty.server.SessionManager defaultSessionManager)
public void replaceDefault(org.eclipse.jetty.server.SessionManager sessionManager)
throws Exception
Exceptionpublic boolean getHttpOnly()
getHttpOnly in interface org.eclipse.jetty.server.SessionManagerpublic void addEventListener(EventListener listener)
addEventListener in interface org.eclipse.jetty.server.SessionManagerpublic javax.servlet.http.HttpSession getHttpSession(String nodeId)
getHttpSession in interface org.eclipse.jetty.server.SessionManagerpublic javax.servlet.SessionCookieConfig getSessionCookieConfig()
getSessionCookieConfig in interface org.eclipse.jetty.server.SessionManagerpublic String getSessionIdPathParameterNamePrefix()
getSessionIdPathParameterNamePrefix in interface org.eclipse.jetty.server.SessionManagerpublic boolean isValid(javax.servlet.http.HttpSession session)
isValid in interface org.eclipse.jetty.server.SessionManagerpublic boolean isFailed()
isFailed in interface org.eclipse.jetty.util.component.LifeCyclepublic boolean isStopping()
isStopping in interface org.eclipse.jetty.util.component.LifeCycle@Deprecated public org.eclipse.jetty.server.SessionIdManager getMetaManager()
getMetaManager in interface org.eclipse.jetty.server.SessionManagerpublic void addLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener listener)
addLifeCycleListener in interface org.eclipse.jetty.util.component.LifeCyclepublic void setCheckingRemoteSessionIdEncoding(boolean remote)
setCheckingRemoteSessionIdEncoding in interface org.eclipse.jetty.server.SessionManagerpublic void setSessionIdManager(org.eclipse.jetty.server.SessionIdManager metaManager)
setSessionIdManager in interface org.eclipse.jetty.server.SessionManagerpublic javax.servlet.http.HttpSession newHttpSession(javax.servlet.http.HttpServletRequest request)
newHttpSession in interface org.eclipse.jetty.server.SessionManagerpublic Set<javax.servlet.SessionTrackingMode> getDefaultSessionTrackingModes()
getDefaultSessionTrackingModes in interface org.eclipse.jetty.server.SessionManagerpublic String getClusterId(javax.servlet.http.HttpSession session)
getClusterId in interface org.eclipse.jetty.server.SessionManagerpublic boolean isStarted()
isStarted in interface org.eclipse.jetty.util.component.LifeCyclepublic void removeLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener listener)
removeLifeCycleListener in interface org.eclipse.jetty.util.component.LifeCyclepublic void stop()
throws Exception
stop in interface org.eclipse.jetty.util.component.LifeCycleExceptionpublic boolean isCheckingRemoteSessionIdEncoding()
isCheckingRemoteSessionIdEncoding in interface org.eclipse.jetty.server.SessionManagerpublic void renewSessionId(String oldClusterId, String oldNodeId, String newClusterId, String newNodeId)
public String getNodeId(javax.servlet.http.HttpSession session)
getNodeId in interface org.eclipse.jetty.server.SessionManagerpublic boolean isRunning()
isRunning in interface org.eclipse.jetty.util.component.LifeCyclepublic String getSessionIdPathParameterName()
getSessionIdPathParameterName in interface org.eclipse.jetty.server.SessionManagerpublic org.eclipse.jetty.server.SessionIdManager getSessionIdManager()
getSessionIdManager in interface org.eclipse.jetty.server.SessionManagerpublic void setSessionTrackingModes(Set<javax.servlet.SessionTrackingMode> sessionTrackingModes)
setSessionTrackingModes in interface org.eclipse.jetty.server.SessionManagerpublic void start()
throws Exception
start in interface org.eclipse.jetty.util.component.LifeCycleExceptionpublic void complete(javax.servlet.http.HttpSession session)
complete in interface org.eclipse.jetty.server.SessionManagerpublic boolean isStopped()
isStopped in interface org.eclipse.jetty.util.component.LifeCyclepublic boolean isStarting()
isStarting in interface org.eclipse.jetty.util.component.LifeCyclepublic boolean isUsingURLs()
isUsingURLs in interface org.eclipse.jetty.server.SessionManagerpublic void setMaxInactiveInterval(int seconds)
setMaxInactiveInterval in interface org.eclipse.jetty.server.SessionManagerpublic void clearEventListeners()
clearEventListeners in interface org.eclipse.jetty.server.SessionManagerpublic void setSessionIdPathParameterName(String param)
setSessionIdPathParameterName in interface org.eclipse.jetty.server.SessionManagerpublic void removeEventListener(EventListener listener)
removeEventListener in interface org.eclipse.jetty.server.SessionManagerpublic boolean isUsingCookies()
isUsingCookies in interface org.eclipse.jetty.server.SessionManagerpublic org.eclipse.jetty.http.HttpCookie getSessionCookie(javax.servlet.http.HttpSession session,
String contextPath,
boolean requestIsSecure)
getSessionCookie in interface org.eclipse.jetty.server.SessionManagerpublic void setSessionHandler(org.eclipse.jetty.server.session.SessionHandler sessionHandler)
setSessionHandler in interface org.eclipse.jetty.server.SessionManagerpublic org.eclipse.jetty.http.HttpCookie access(javax.servlet.http.HttpSession session,
boolean secure)
access in interface org.eclipse.jetty.server.SessionManagerpublic int getMaxInactiveInterval()
getMaxInactiveInterval in interface org.eclipse.jetty.server.SessionManagerpublic Set<javax.servlet.SessionTrackingMode> getEffectiveSessionTrackingModes()
getEffectiveSessionTrackingModes in interface org.eclipse.jetty.server.SessionManagerCopyright © GigaSpaces.