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
Exception
public boolean getHttpOnly()
getHttpOnly
in interface org.eclipse.jetty.server.SessionManager
public void addEventListener(EventListener listener)
addEventListener
in interface org.eclipse.jetty.server.SessionManager
public javax.servlet.http.HttpSession getHttpSession(String nodeId)
getHttpSession
in interface org.eclipse.jetty.server.SessionManager
public javax.servlet.SessionCookieConfig getSessionCookieConfig()
getSessionCookieConfig
in interface org.eclipse.jetty.server.SessionManager
public String getSessionIdPathParameterNamePrefix()
getSessionIdPathParameterNamePrefix
in interface org.eclipse.jetty.server.SessionManager
public boolean isValid(javax.servlet.http.HttpSession session)
isValid
in interface org.eclipse.jetty.server.SessionManager
public boolean isFailed()
isFailed
in interface org.eclipse.jetty.util.component.LifeCycle
public 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.SessionManager
public void addLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener listener)
addLifeCycleListener
in interface org.eclipse.jetty.util.component.LifeCycle
public void setCheckingRemoteSessionIdEncoding(boolean remote)
setCheckingRemoteSessionIdEncoding
in interface org.eclipse.jetty.server.SessionManager
public void setSessionIdManager(org.eclipse.jetty.server.SessionIdManager metaManager)
setSessionIdManager
in interface org.eclipse.jetty.server.SessionManager
public javax.servlet.http.HttpSession newHttpSession(javax.servlet.http.HttpServletRequest request)
newHttpSession
in interface org.eclipse.jetty.server.SessionManager
public Set<javax.servlet.SessionTrackingMode> getDefaultSessionTrackingModes()
getDefaultSessionTrackingModes
in interface org.eclipse.jetty.server.SessionManager
public String getClusterId(javax.servlet.http.HttpSession session)
getClusterId
in interface org.eclipse.jetty.server.SessionManager
public boolean isStarted()
isStarted
in interface org.eclipse.jetty.util.component.LifeCycle
public void removeLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener listener)
removeLifeCycleListener
in interface org.eclipse.jetty.util.component.LifeCycle
public void stop() throws Exception
stop
in interface org.eclipse.jetty.util.component.LifeCycle
Exception
public boolean isCheckingRemoteSessionIdEncoding()
isCheckingRemoteSessionIdEncoding
in interface org.eclipse.jetty.server.SessionManager
public 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.SessionManager
public boolean isRunning()
isRunning
in interface org.eclipse.jetty.util.component.LifeCycle
public String getSessionIdPathParameterName()
getSessionIdPathParameterName
in interface org.eclipse.jetty.server.SessionManager
public org.eclipse.jetty.server.SessionIdManager getSessionIdManager()
getSessionIdManager
in interface org.eclipse.jetty.server.SessionManager
public void setSessionTrackingModes(Set<javax.servlet.SessionTrackingMode> sessionTrackingModes)
setSessionTrackingModes
in interface org.eclipse.jetty.server.SessionManager
public void start() throws Exception
start
in interface org.eclipse.jetty.util.component.LifeCycle
Exception
public void complete(javax.servlet.http.HttpSession session)
complete
in interface org.eclipse.jetty.server.SessionManager
public boolean isStopped()
isStopped
in interface org.eclipse.jetty.util.component.LifeCycle
public boolean isStarting()
isStarting
in interface org.eclipse.jetty.util.component.LifeCycle
public boolean isUsingURLs()
isUsingURLs
in interface org.eclipse.jetty.server.SessionManager
public void setMaxInactiveInterval(int seconds)
setMaxInactiveInterval
in interface org.eclipse.jetty.server.SessionManager
public void clearEventListeners()
clearEventListeners
in interface org.eclipse.jetty.server.SessionManager
public void setSessionIdPathParameterName(String param)
setSessionIdPathParameterName
in interface org.eclipse.jetty.server.SessionManager
public void removeEventListener(EventListener listener)
removeEventListener
in interface org.eclipse.jetty.server.SessionManager
public boolean isUsingCookies()
isUsingCookies
in interface org.eclipse.jetty.server.SessionManager
public org.eclipse.jetty.http.HttpCookie getSessionCookie(javax.servlet.http.HttpSession session, String contextPath, boolean requestIsSecure)
getSessionCookie
in interface org.eclipse.jetty.server.SessionManager
public void setSessionHandler(org.eclipse.jetty.server.session.SessionHandler sessionHandler)
setSessionHandler
in interface org.eclipse.jetty.server.SessionManager
public org.eclipse.jetty.http.HttpCookie access(javax.servlet.http.HttpSession session, boolean secure)
access
in interface org.eclipse.jetty.server.SessionManager
public int getMaxInactiveInterval()
getMaxInactiveInterval
in interface org.eclipse.jetty.server.SessionManager
public Set<javax.servlet.SessionTrackingMode> getEffectiveSessionTrackingModes()
getEffectiveSessionTrackingModes
in interface org.eclipse.jetty.server.SessionManager
Copyright © GigaSpaces.