Package | Description |
---|---|
io.vertx.ext.web | |
io.vertx.ext.web.handler | |
io.vertx.ext.web.handler.sockjs | |
io.vertx.ext.web.sstore | |
io.vertx.reactivex.ext.web | |
io.vertx.rxjava.ext.web |
Modifier and Type | Method and Description |
---|---|
Session |
Session.computeIfAbsent(String key,
java.util.function.Function<String,Object> mappingFunction)
Put some data in a session if absent.
|
Session |
Session.put(String key,
Object obj)
Put some data in a session
|
Session |
Session.putIfAbsent(String key,
Object obj)
Put some data in a session if absent
|
Session |
Session.regenerateId() |
Session |
RoutingContext.session()
Get the session.
|
Modifier and Type | Method and Description |
---|---|
void |
RoutingContext.setSession(Session session)
Set the session.
|
Modifier and Type | Method and Description |
---|---|
Session |
SessionHandler.newSession(RoutingContext context)
Create a new session
|
Modifier and Type | Method and Description |
---|---|
Session |
SockJSSocket.webSession() |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSession
The abstract session class provides a barebones implementation for session storage implementors.
|
Modifier and Type | Method and Description |
---|---|
Session |
AbstractSession.computeIfAbsent(String key,
java.util.function.Function<String,Object> mappingFunction) |
Session |
SessionStore.createSession(long timeout)
Create a new session using the default min length.
|
Session |
SessionStore.createSession(long timeout,
int length)
Create a new session.
|
Session |
AbstractSession.put(String key,
Object obj) |
Session |
AbstractSession.putIfAbsent(String key,
Object obj) |
Session |
AbstractSession.regenerateId() |
Modifier and Type | Method and Description |
---|---|
default Future<Session> |
SessionStore.get(String cookieValue) |
Modifier and Type | Method and Description |
---|---|
default Future<Void> |
SessionStore.put(Session session) |
void |
SessionStore.put(Session session,
Handler<AsyncResult<Void>> resultHandler)
Add a session with the specified ID.
|
Modifier and Type | Method and Description |
---|---|
void |
SessionStore.get(String cookieValue,
Handler<AsyncResult<Session>> resultHandler)
Get the session with the specified ID.
|
Modifier and Type | Method and Description |
---|---|
Session |
Session.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static Session |
Session.newInstance(Session arg) |
Constructor and Description |
---|
Session(Session delegate) |
Modifier and Type | Method and Description |
---|---|
Session |
Session.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static Session |
Session.newInstance(Session arg) |
Constructor and Description |
---|
Session(Session delegate) |
Copyright © 2021 Eclipse. All rights reserved.