SessionManager implementation.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final SessionManager | |
| private String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | changeSessionId(final Request request, final Session session)
Implements org. Change the |
| public void | configureSessionCookie(final Request request, final Cookie cookie)
Implements org. Configure session cookie before adding it to the |
| public Session | createSession(final Request request)
Implements org. |
| public Session | getSession(final Request request, final String requestedSessionId)
Implements org. Return the session associated with this Request, creating one if necessary and requested. |
| public String | |
| public static SessionManager | |
| public void | setSessionCookieName(final String name)
Implements org. Set the session cookie name that will be used by sessions created by this |
| defaultManager | back to summary |
|---|---|
| private final SessionManager defaultManager | |
| sessionCookieName | back to summary |
|---|---|
| private String sessionCookieName | |
| ServletSessionManager | back to summary |
|---|---|
| private ServletSessionManager() | |
| changeSessionId | back to summary |
|---|---|
| public String changeSessionId(final Request request, final Session session) Implements org. Doc from org. Change the
| |
| configureSessionCookie | back to summary |
|---|---|
| public void configureSessionCookie(final Request request, final Cookie cookie) Implements org. Doc from org. Configure session cookie before adding it to the
| |
| createSession | back to summary |
|---|---|
| public Session createSession(final Request request) Implements org. Doc from org. Create a new
| |
| getSession | back to summary |
|---|---|
| public Session getSession(final Request request, final String requestedSessionId) Implements org. Doc from org. Return the session associated with this Request, creating one if necessary and requested.
| |
| getSessionCookieName | back to summary |
|---|---|
| public String getSessionCookieName() Implements org.
| |
| instance | back to summary |
|---|---|
public static SessionManager instance()
| |
| setSessionCookieName | back to summary |
|---|---|
| public void setSessionCookieName(final String name) Implements org. Doc from org. Set the session cookie name that will be used by sessions created by this
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final ServletSessionManager |
| Access | Constructor and Description |
|---|---|
| private |
| INSTANCE | back to summary |
|---|---|
| private static final ServletSessionManager INSTANCE | |
| LazyHolder | back to summary |
|---|---|
| private LazyHolder() | |