Package prompto.server
Class SessionManager
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- org.eclipse.jetty.util.component.ContainerLifeCycle
-
- org.eclipse.jetty.server.session.AbstractSessionManager
-
- org.eclipse.jetty.server.session.HashSessionManager
-
- prompto.server.SessionManager
-
- All Implemented Interfaces:
org.eclipse.jetty.server.SessionManager,org.eclipse.jetty.util.component.Container,org.eclipse.jetty.util.component.Destroyable,org.eclipse.jetty.util.component.Dumpable,org.eclipse.jetty.util.component.LifeCycle
public class SessionManager extends org.eclipse.jetty.server.session.HashSessionManager
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jetty.server.session.HashSessionManager
org.eclipse.jetty.server.session.HashSessionManager.Saver, org.eclipse.jetty.server.session.HashSessionManager.Scavenger
-
Nested classes/interfaces inherited from class org.eclipse.jetty.server.session.AbstractSessionManager
org.eclipse.jetty.server.session.AbstractSessionManager.CookieConfig, org.eclipse.jetty.server.session.AbstractSessionManager.SessionIf
-
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.server.session.AbstractSessionManager
__defaultSessionTrackingModes, __distantFuture, _checkingRemoteSessionIdEncoding, _context, _dftMaxIdleSecs, _httpOnly, _loader, _maxCookieAge, _nodeIdInSessionId, _refreshCookieAge, _secureCookies, _secureRequestOnly, _sessionAttributeListeners, _sessionComment, _sessionCookie, _sessionDomain, _sessionHandler, _sessionIdListeners, _sessionIdManager, _sessionIdPathParameterName, _sessionIdPathParameterNamePrefix, _sessionListeners, _sessionPath, _sessionsStats, _sessionTimeStats, _sessionTrackingModes, MAX_INACTIVE_MINUTES
-
Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
-
Fields inherited from interface org.eclipse.jetty.server.SessionManager
__CheckRemoteSessionEncoding, __DefaultSessionCookie, __DefaultSessionDomain, __DefaultSessionIdPathParameterName, __MaxAgeProperty, __SessionCookieProperty, __SessionDomainProperty, __SessionIdPathParameterNameProperty, __SessionPathProperty
-
-
Constructor Summary
Constructors Constructor Description SessionManager(IHttpConfiguration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.jetty.server.session.AbstractSessiongetSession(String idInCluster)booleanisValid(javax.servlet.http.HttpSession session)protected org.eclipse.jetty.server.session.AbstractSessionnewSession(long created, long accessed, String clusterId)protected org.eclipse.jetty.server.session.AbstractSessionnewSession(javax.servlet.http.HttpServletRequest request)voidrenewSessionId(String oldClusterId, String oldNodeId, String newClusterId, String newNodeId)protected voidshutdownSessions()-
Methods inherited from class org.eclipse.jetty.server.session.HashSessionManager
addSession, doStart, doStop, getIdleSavePeriod, getSavePeriod, getScavengePeriod, getSessions, getStoreDirectory, isDeleteUnrestorableSessions, isLazyLoad, removeSession, restoreSession, restoreSession, restoreSessions, saveSessions, scavenge, setDeleteUnrestorableSessions, setIdleSavePeriod, setLazyLoad, setMaxInactiveInterval, setSavePeriod, setScavengePeriod, setStoreDirectory
-
Methods inherited from class org.eclipse.jetty.server.session.AbstractSessionManager
access, addEventListener, addSession, clearEventListeners, complete, doSessionAttributeListeners, getClusterId, getContext, getContextHandler, getDefaultSessionTrackingModes, getEffectiveSessionTrackingModes, getHttpOnly, getHttpSession, getMaxCookieAge, getMaxInactiveInterval, getMetaManager, getNodeId, getRefreshCookieAge, getSecureCookies, getSessionCookie, getSessionCookie, getSessionCookieConfig, getSessionDomain, getSessionHandler, getSessionIdManager, getSessionIdPathParameterName, getSessionIdPathParameterNamePrefix, getSessionPath, getSessionsMax, getSessionsTotal, getSessionTimeMax, getSessionTimeMean, getSessionTimeStdDev, getSessionTimeTotal, isCheckingRemoteSessionIdEncoding, isNodeIdInSessionId, isSecureRequestOnly, isUsingCookies, isUsingURLs, newHttpSession, removeEventListener, removeSession, removeSession, setCheckingRemoteSessionIdEncoding, setHttpOnly, setNodeIdInSessionId, setRefreshCookieAge, setSecureRequestOnly, setSessionCookie, setSessionHandler, setSessionIdManager, setSessionIdPathParameterName, setSessionTrackingModes, setUsingCookies, statsReset
-
Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle
addBean, addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans
-
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
-
-
-
-
Constructor Detail
-
SessionManager
public SessionManager(IHttpConfiguration config)
-
-
Method Detail
-
getSession
public org.eclipse.jetty.server.session.AbstractSession getSession(String idInCluster)
- Overrides:
getSessionin classorg.eclipse.jetty.server.session.HashSessionManager
-
isValid
public boolean isValid(javax.servlet.http.HttpSession session)
- Specified by:
isValidin interfaceorg.eclipse.jetty.server.SessionManager- Overrides:
isValidin classorg.eclipse.jetty.server.session.AbstractSessionManager
-
shutdownSessions
protected void shutdownSessions() throws Exception- Overrides:
shutdownSessionsin classorg.eclipse.jetty.server.session.HashSessionManager- Throws:
Exception
-
renewSessionId
public void renewSessionId(String oldClusterId, String oldNodeId, String newClusterId, String newNodeId)
- Specified by:
renewSessionIdin interfaceorg.eclipse.jetty.server.SessionManager- Overrides:
renewSessionIdin classorg.eclipse.jetty.server.session.HashSessionManager
-
newSession
protected org.eclipse.jetty.server.session.AbstractSession newSession(javax.servlet.http.HttpServletRequest request)
- Overrides:
newSessionin classorg.eclipse.jetty.server.session.HashSessionManager
-
newSession
protected org.eclipse.jetty.server.session.AbstractSession newSession(long created, long accessed, String clusterId)- Overrides:
newSessionin classorg.eclipse.jetty.server.session.HashSessionManager
-
-