| Modifier and Type | Class and Description |
|---|---|
| public class | SessionHandler.
CookieConfig Implementation of the jakarta.servlet.SessionCookieConfig. |
| private class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final SessionCookieConfig | |
| private Handler | |
| private Server | |
| pack-priv final List | |
| pack-priv final List | |
| pack-priv final List | |
| public static final EnumSet |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the listener was addedthe 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)Overrides org. Implements org. Adds an event listener for session-related events. |
| protected void | |
| protected void | |
| protected void | |
| public void | doStart()
Overrides org. Starts the managed lifecycle beans in the order they were added. |
| public Set | |
| public Set | |
| public Handler | |
| public Invocable. | |
| public ManagedSession | getManagedSession(Request request)
Implements org.
|
| public HttpCookie. | |
| public Server | getServer()
Implements abstract org. Implements org.
|
| public SessionCookieConfig | |
| public boolean | handle(Request
the HTTP request to handle request, Response the HTTP response to handle response, Callback the callback to complete when the handling is complete callback)Implements org. Invoked to handle the passed HTTP request and response. |
| public Session. | |
| public void | onSessionActivation(Session session)
Overrides default org.
|
| public void | onSessionAttributeUpdate(Session session, String name, Object old, Object value)
Overrides default org.
|
| public void | onSessionCreated(Session
the session on which to call the lifecycle listeners session)Overrides org. Overrides default org. Call the session lifecycle listeners in the order they were added. |
| public void | onSessionDestroyed(Session
the session on which to call the lifecycle listeners session)Overrides org. Overrides default org. Call the session lifecycle listeners in the reverse order they were added. |
| public void | onSessionIdChanged(Session session, String oldId)
Overrides org. Overrides default org.
|
| public void | onSessionPassivation(Session session)
Overrides default org.
|
| public boolean | removeEventListener(EventListener
the listener to remove listener)Overrides org. Implements org. Remove an event listener. |
| public void | setHandler(Handler
The handler)Handler to set as a childImplements org.
|
| public void | setSameSite(HttpCookie.
The sameSite setting for Session cookies (or null for no sameSite setting) sameSiteOverrides org. Implements org. Set Session cookie sameSite mode. |
| public void | setServer(Server
the server)Server to associate to this HandlerImplements org. Set the |
| public void |