If the property org.mortbay.jetty.servlet.AbstractSessionManager.23Notifications is set to true, the 2.3 servlet spec notification style will be used.
| Modifier and Type | Class and Description |
|---|---|
| public static class | AbstractSessionManager.NullSessionContext
Deprecated
as a consequence of Null returning implementation of HttpSessionContext
HttpSessionContext being deprecated.
|
| public abstract class | AbstractSessionManager.Session
Implements |
| public static interface | AbstractSessionManager.SessionIf
Interface that any session wrapper should implement so that SessionManager may access the Jetty session implementation. |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| private static final HttpSessionContext | __nullSessionContext
Deprecated
as a consequence of
HttpSessionContext being deprecated.
|
| protected ContextHandler. | |
| protected int | |
| protected boolean | |
| protected ClassLoader | |
| protected int | |
| protected int | |
| protected int | |
| protected boolean | |
| protected int | |
| protected boolean | |
| protected Object | |
| protected String | |
| protected String | |
| protected SessionHandler | |
| protected SessionIdManager | |
| protected String | |
| protected String | |
| protected Object | |
| protected String | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Cookie | access(HttpSession
the session object session, boolean whether the request is secure or not secure)Implements org. SessionHandler when a session is first accessed by a request.
|
| public void | addEventListener(EventListener
the session event listener to add
Individual SessionManagers implementations may accept arbitrary listener types,
but they are expected to at least handle HttpSessionActivationListener,
HttpSessionAttributeListener, HttpSessionBindingListener and HttpSessionListener. listener)Implements org. |
| protected abstract void | |
| protected void | addSession(AbstractSessionManager.
Add the session Registers the session with this manager and registers the session ID with the sessionIDManager; |
| public void | clearEventListeners()
Implements org. |
| public void | complete(HttpSession
the session object session)Implements org. SessionHandler when a session is last accessed by a request.
|
| public void | |
| public void | |
| public String | getClusterId(HttpSession
the session object session)Implements org. |
| public boolean | |
| public HttpSession | getHttpSession(String
the session id nodeId)Implements org. HttpSession with the given session id
|
| public SessionIdManager | Returns: Returns the metaManager used for cross context session managementImplements org. |
| public int | |
| public int | Returns: secondsImplements org. |
| public int | |
| public SessionIdManager | getMetaManager()
Implements org.
Deprecated
use
getIdManager()
|
| public int | |
| public String | getNodeId(HttpSession
the session object session)Implements org. |
| public int | |
| public boolean | Returns: Returns the secureCookies.Implements org. |
| public abstract AbstractSessionManager. | Returns: A Session or null if none exists.The session ID in the cluster, stripped of any worker name. idInCluster)Get a known existingsession |
| public String | |
| public Cookie | getSessionCookie(HttpSession
the session to which the cookie should refer. session, String the context to which the cookie should be linked.
The client will only send the cookie value when requesting resources under this path. contextPath, boolean whether the client is accessing the server over a secure protocol (i.e. HTTPS). requestIsSecure)Implements org. |
| public String | |
| public SessionHandler | |
| public String | |
| public String | |
| public abstract Map | |
| public String | |
| public abstract int | |
| protected abstract void | |
| public boolean | Returns: true if the cluster node id (worker id) is returned as part of the session id byHttpSession#getId(). Default is false.
|
| public boolean | Returns: Returns the usingCookies.Implements org. |
| public boolean | isValid(HttpSession
the session to test for validity session)Implements org. |
| public HttpSession | newHttpSession(HttpServletRequest
the HttpServletRequest containing the requested session id request)Implements org. |
| protected abstract AbstractSessionManager. | |
| public void | removeEventListener(EventListener
the session event listener to remove listener)Implements org. |
| public void | removeSession(HttpSession
The session to remove session, boolean True if invalidate)HttpSessionListener#sessionDestroyed(HttpSessionEvent) and
SessionIdManager#invalidateAll(String) should be called.Remove session from manager |
| public void | removeSession(AbstractSessionManager.
The session to remove session,True if invalidate)HttpSessionListener#sessionDestroyed(HttpSessionEvent) and
SessionIdManager#invalidateAll(String) should be called.Remove session from manager |
| protected abstract void | |
| public void | |
| public void | |
| public void | setIdManager(SessionIdManager
The metaManager used for cross context session management. metaManager)Implements org. |
| public void | setMaxCookieAge(int
the max age to set on the session cookie, in seconds maxCookieAgeInSeconds)Implements org. |
| public void | setMaxInactiveInterval(int seconds)
Implements org. |
| public void | |
| public void | setNodeIdInSessionId(boolean
true if the cluster node id (worker id) will be returned as part of the session id by nodeIdInSessionId)HttpSession#getId(). Default is false.
|
| public void | |
| public void | |
| public void | setSessionCookie(String
the session cookie name cookieName)Implements org. |
| public void | setSessionDomain(String
the domain to set on the session cookie domain)Implements org. |
| public void | setSessionHandler(SessionHandler
The sessionHandler to set. sessionHandler)Implements org. SessionHandler.
|
| public void | setSessionIdPathParameterName(String
the URL path parameter name for session id URL rewriting (null or "none" for no rewriting). param)Implements org. |
| public void | setSessionPath(String
the path to set on the session cookie path)Implements org. |
| public void |