Package | Description |
---|---|
io.vertx.ext.web.handler | |
io.vertx.reactivex.ext.web.handler | |
io.vertx.rxjava.ext.web.handler | |
io.vertx.rxjava3.ext.web.handler |
Modifier and Type | Method and Description |
---|---|
static SessionHandler |
SessionHandler.create(SessionStore sessionStore)
Create a session handler
|
SessionHandler |
SessionHandler.flush(RoutingContext ctx,
boolean ignoreStatus,
Handler<AsyncResult<Void>> handler)
Flush a context session earlier to the store, this will allow the end user to have full control on the event of
a failure at the store level.
|
SessionHandler |
SessionHandler.flush(RoutingContext ctx,
Handler<AsyncResult<Void>> handler)
Flush a context session earlier to the store, this will allow the end user to have full control on the event of
a failure at the store level.
|
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
|
default SessionHandler |
SessionHandler.setUser(RoutingContext context,
User user,
Handler<AsyncResult<Void>> handler)
Set the user for the session
|
Modifier and Type | Method and Description |
---|---|
SessionHandler |
SessionHandler.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static SessionHandler |
SessionHandler.newInstance(SessionHandler arg) |
Constructor and Description |
---|
SessionHandler(SessionHandler delegate) |
Modifier and Type | Method and Description |
---|---|
SessionHandler |
SessionHandler.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static SessionHandler |
SessionHandler.newInstance(SessionHandler arg) |
Constructor and Description |
---|
SessionHandler(SessionHandler delegate) |
Modifier and Type | Method and Description |
---|---|
SessionHandler |
SessionHandler.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static SessionHandler |
SessionHandler.newInstance(SessionHandler arg) |
Constructor and Description |
---|
SessionHandler(SessionHandler delegate) |
Copyright © 2021 Eclipse. All rights reserved.