Class CookieSessionStore
java.lang.Object
io.vertx.mutiny.ext.web.sstore.SessionStore
io.vertx.mutiny.ext.web.sstore.cookie.CookieSessionStore
- All Implemented Interfaces:
MutinyDelegate
A SessionStore that uses a Cookie to store the session data. All data is stored in
plain sight and signed using a HMAC using the given secret.
The signature ensures that the cookie payload is not tampered when returning from
the user agent (browser) back to the server.
NOTE: This class has been automatically generated from the
original
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCookieSessionStore
(io.vertx.ext.web.sstore.cookie.CookieSessionStore delegate) CookieSessionStore
(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic CookieSessionStore
boolean
io.vertx.ext.web.sstore.cookie.CookieSessionStore
int
hashCode()
static CookieSessionStore
newInstance
(io.vertx.ext.web.sstore.cookie.CookieSessionStore arg) toString()
Methods inherited from class io.vertx.mutiny.ext.web.sstore.SessionStore
clear, clearAndAwait, clearAndForget, close, create, create, createSession, createSession, delete, deleteAndAwait, deleteAndForget, get, getAndAwait, getAndForget, init, newInstance, put, putAndAwait, putAndForget, retryTimeout, size, sizeAndAwait, sizeAndForget
-
Field Details
-
__TYPE_ARG
-
DEFAULT_SESSIONID_LENGTH
public static final int DEFAULT_SESSIONID_LENGTH- See Also:
-
-
Constructor Details
-
CookieSessionStore
public CookieSessionStore(io.vertx.ext.web.sstore.cookie.CookieSessionStore delegate) -
CookieSessionStore
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.sstore.cookie.CookieSessionStore getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Overrides:
getDelegate
in classSessionStore
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
- Overrides:
toString
in classSessionStore
-
equals
- Overrides:
equals
in classSessionStore
-
hashCode
public int hashCode()- Overrides:
hashCode
in classSessionStore
-
create
- Parameters:
vertx
- a vert.x instancesecret
- a secret to feed the HMAC algorithm- Returns:
- the store
-
newInstance
-