Package | Description |
---|---|
io.vertx.ext.web |
= Vert.x-Web
:toc: left
Vert.x-Web is a set of building blocks for building web applications with Vert.x.
|
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 | 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
|
Modifier and Type | Method and Description |
---|---|
void |
SessionStore.put(Session session,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Boolean>> resultHandler)
Add a session with the specified ID
|
Modifier and Type | Method and Description |
---|---|
void |
SessionStore.get(String id,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Session>> resultHandler)
Get the session with the specified ID
|
Copyright © 2018. All rights reserved.