Package | Description |
---|---|
io.vertx.ext.web | |
io.vertx.ext.web.handler.sockjs | |
io.vertx.ext.web.sstore |
Modifier and Type | Method and Description |
---|---|
Session |
Session.put(String key,
Object obj)
Put some data in a session
|
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 |
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 |
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.regenerateId() |
Modifier and Type | Method and Description |
---|---|
void |
SessionStore.put(Session session,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler)
Add a session with the specified ID.
|
Modifier and Type | Method and Description |
---|---|
void |
SessionStore.get(String cookieValue,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Session>> resultHandler)
Get the session with the specified ID.
|
Copyright © 2019 Eclipse. All rights reserved.