org.mortbay.jetty.servlet
public interface SessionManager extends LifeCycle, Serializable
Version: $Id: SessionManager.java,v 1.18 2005/03/15 10:03:58 gregwilkins Exp $
| Nested Class Summary | |
|---|---|
| static interface | SessionManager.Session |
| Field Summary | |
|---|---|
| static String | __MaxAge Session Max Age.
|
| static String | __SessionCookie Session cookie name.
|
| static String | __SessionDomain Session Domain.
|
| static String | __SessionPath Session Path.
|
| static String | __SessionUrlPrefix |
| static String | __SessionURL Session URL parameter name.
|
| Method Summary | |
|---|---|
| void | addEventListener(EventListener listener) Add an event listener. |
| boolean | getHttpOnly() |
| HttpSession | getHttpSession(String id) |
| int | getMaxInactiveInterval() |
| boolean | getSecureCookies() |
| Cookie | getSessionCookie(HttpSession session, boolean requestIsSecure) Get a Cookie for a session. |
| void | initialize(ServletHandler handler) |
| HttpSession | newHttpSession(HttpServletRequest request) |
| void | removeEventListener(EventListener listener) |
| void | setMaxInactiveInterval(int seconds) |
Parameters: listener An Event Listener. Individual SessionManagers implemetations may accept arbitrary listener types, but they are expected to at least handle HttpSessionActivationListener, HttpSessionAttributeListener, HttpSessionBindingListener, HttpSessionListener
Throws: IllegalArgumentException If an unsupported listener is passed.
Returns: true if session cookies should be httponly (microsoft extension)
Returns: true if session cookies should be secure
Parameters: session
Returns: