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 Object | |
| protected String | |
| protected String | |
| protected String | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Cookie | access(HttpSession session, boolean secure)
Implements org. SessionHandler when a session is access by a request
|
| public void | addEventListener(EventListener
An Event Listener. Individual SessionManagers
implemetations may accept arbitrary listener types, but they
are expected to at least handle
HttpSessionActivationListener,
HttpSessionAttributeListener,
HttpSessionBindingListener,
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 | |
| public void | complete(HttpSession session)
Implements org. SessionHandler when a reqeuest is not longer
handling a session.
|
| public void | |
| public void | |
| public String | getClusterId(HttpSession session)
Implements org. |
| public boolean | |
| public HttpSession | |
| 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 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 abstract Map | |
| public String | |
| public abstract int | |
| public String | |
| public String | |
| 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 | |
| public HttpSession | newHttpSession(HttpServletRequest request)
Implements org. |
| protected abstract AbstractSessionManager. | |
| public void | removeEventListener(EventListener 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 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 | |
| public void | |
| public void | setSessionHandler(SessionHandler
The sessionHandler to set. sessionHandler)Implements org. |
| public void | |
| public void | setSessionURL(String
The parameter name for session id URL rewriting (null or "none" for no rewriting). param)Implements org. |
| public void |