Package | Description |
---|---|
io.vertx.ext.web.handler |
Modifier and Type | Method and Description |
---|---|
static SessionHandler |
SessionHandler.create(SessionStore sessionStore)
Create a session handler
|
SessionHandler |
SessionHandler.setCookieHttpOnlyFlag(boolean httpOnly)
Sets whether the 'HttpOnly' flag should be set for the session cookie.
|
SessionHandler |
SessionHandler.setCookieSecureFlag(boolean secure)
Sets whether the 'secure' flag should be set for the session cookie.
|
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.setSessionTimeout(long timeout)
Set the session timeout
|
Copyright © 2017. All rights reserved.