Class CookieSessionStore
- java.lang.Object
-
- io.vertx.mutiny.ext.web.sstore.SessionStore
-
- io.vertx.mutiny.ext.web.sstore.cookie.CookieSessionStore
-
public class CookieSessionStore extends SessionStore
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 theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<CookieSessionStore>
__TYPE_ARG
static int
DEFAULT_SESSIONID_LENGTH
-
Constructor Summary
Constructors Constructor Description CookieSessionStore(io.vertx.ext.web.sstore.cookie.CookieSessionStore delegate)
CookieSessionStore(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CookieSessionStore
create(Vertx vertx, String secret)
boolean
equals(Object o)
io.vertx.ext.web.sstore.cookie.CookieSessionStore
getDelegate()
int
hashCode()
static CookieSessionStore
newInstance(io.vertx.ext.web.sstore.cookie.CookieSessionStore arg)
String
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 Detail
-
__TYPE_ARG
public static final TypeArg<CookieSessionStore> __TYPE_ARG
-
DEFAULT_SESSIONID_LENGTH
public static final int DEFAULT_SESSIONID_LENGTH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CookieSessionStore
public CookieSessionStore(io.vertx.ext.web.sstore.cookie.CookieSessionStore delegate)
-
CookieSessionStore
public CookieSessionStore(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.web.sstore.cookie.CookieSessionStore getDelegate()
- Overrides:
getDelegate
in classSessionStore
-
toString
public String toString()
- Overrides:
toString
in classSessionStore
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classSessionStore
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSessionStore
-
create
public static CookieSessionStore create(Vertx vertx, String secret)
- Parameters:
vertx
- a vert.x instancesecret
- a secret to feed the HMAC algorithm- Returns:
- the store
-
newInstance
public static CookieSessionStore newInstance(io.vertx.ext.web.sstore.cookie.CookieSessionStore arg)
-
-