Modifier and Type | Method and Description |
---|---|
static SessionHandler |
SessionHandler.create(SessionStore sessionStore)
Create a session handler
|
Modifier and Type | Interface and Description |
---|---|
interface |
ClusteredSessionStore
A session store which stores sessions in a distributed map so they are available across the cluster.
|
interface |
LocalSessionStore
A session store which is only available on a single node.
|
Modifier and Type | Method and Description |
---|---|
default SessionStore |
SessionStore.clear(Handler<AsyncResult<Void>> resultHandler)
Remove all sessions from the store.
|
static SessionStore |
SessionStore.create(Vertx vertx)
Create a Session store given a backend and configuration JSON.
|
static SessionStore |
SessionStore.create(Vertx vertx,
JsonObject options)
Create a Session store given a backend and configuration JSON.
|
default SessionStore |
SessionStore.delete(String id,
Handler<AsyncResult<Void>> resultHandler)
Delete the session with the specified ID.
|
default SessionStore |
SessionStore.get(String cookieValue,
Handler<AsyncResult<Session>> resultHandler)
Get the session with the specified ID.
|
SessionStore |
SessionStore.init(Vertx vertx,
JsonObject options)
Initialize this store.
|
default SessionStore |
SessionStore.put(Session session,
Handler<AsyncResult<Void>> resultHandler)
Add a session with the specified ID.
|
default SessionStore |
SessionStore.size(Handler<AsyncResult<Integer>> resultHandler)
Get the number of sessions in the store.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CookieSessionStore
A SessionStore that uses a Cookie to store the session data.
|
Modifier and Type | Interface and Description |
---|---|
interface |
InfinispanSessionStore
An implementation of
SessionStore that relies on the Infinispan Java Client. |
Modifier and Type | Interface and Description |
---|---|
interface |
RedisSessionStore
A SessionStore that uses a Redis to store the sessions and associated data.
|
Modifier and Type | Method and Description |
---|---|
SessionStore |
SessionStore.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static SessionStore |
SessionStore.newInstance(SessionStore arg) |
Constructor and Description |
---|
SessionStore(SessionStore delegate) |
Modifier and Type | Method and Description |
---|---|
SessionStore |
SessionStore.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static SessionStore |
SessionStore.newInstance(SessionStore arg) |
Constructor and Description |
---|
SessionStore(SessionStore delegate) |
Modifier and Type | Method and Description |
---|---|
SessionStore |
SessionStore.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static SessionStore |
SessionStore.newInstance(SessionStore arg) |
Constructor and Description |
---|
SessionStore(SessionStore delegate) |
Copyright © 2024 Eclipse. All rights reserved.