static SessionHandler |
SessionHandler.createโ(SessionStore sessionStore) |
Create a session handler
|
static SessionHandler |
SessionHandler.newInstanceโ(SessionHandler arg) |
|
SessionHandler |
SessionHandler.setCookieHttpOnlyFlagโ(boolean httpOnly) |
Sets whether the 'HttpOnly' flag should be set for the session cookie.
|
SessionHandler |
SessionHandler.setCookielessโ(boolean cookieless) |
Use sessions based on url paths instead of cookies.
|
SessionHandler |
SessionHandler.setCookieMaxAgeโ(long cookieMaxAge) |
Set a Cookie max-age to the session cookie.
|
SessionHandler |
SessionHandler.setCookieSameSiteโ(CookieSameSite policy) |
Set the session cookie SameSite policy to use.
|
SessionHandler |
SessionHandler.setCookieSecureFlagโ(boolean secure) |
Sets whether the 'secure' flag should be set for the session cookie.
|
SessionHandler |
SessionHandler.setLazySessionโ(boolean lazySession) |
Use a lazy session creation mechanism.
|
SessionHandler |
SessionHandler.setMinLengthโ(int minLength) |
Set expected session id minimum length.
|
SessionHandler |
SessionHandler.setNagHttpsโ(boolean nag) |
Set whether a nagging log warning should be written if the session handler is
accessed over HTTP, not HTTPS
|
SessionHandler |
SessionHandler.setSessionCookieNameโ(String sessionCookieName) |
Set the session cookie name
|
SessionHandler |
SessionHandler.setSessionCookiePathโ(String sessionCookiePath) |
Set the session cookie path
|
SessionHandler |
SessionHandler.setSessionTimeoutโ(long timeout) |
Set the session timeout
|
SessionHandler |
SessionHandler.setSigningSecretโ(String secret) |
Set signing secret for the session cookie.
|