Package io.vertx.mutiny.ext.web.sstore
Class LocalSessionStore
- java.lang.Object
-
- io.vertx.mutiny.ext.web.sstore.SessionStore
-
- io.vertx.mutiny.ext.web.sstore.LocalSessionStore
-
public class LocalSessionStore extends SessionStore
A session store which is only available on a single node.Can be used when sticky sessions are being used.
NOTE: This class has been automatically generated from theoriginalnon Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<LocalSessionStore>__TYPE_ARGstatic longDEFAULT_REAPER_INTERVALDefault of how often, in ms, to check for expired sessionsstatic StringDEFAULT_SESSION_MAP_NAMEDefault name for map used to store sessionsstatic intDEFAULT_SESSIONID_LENGTHDefault length for a session id.
-
Constructor Summary
Constructors Constructor Description LocalSessionStore(io.vertx.ext.web.sstore.LocalSessionStore delegate)LocalSessionStore(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LocalSessionStorecreate(Vertx vertx)static LocalSessionStorecreate(Vertx vertx, String sessionMapName)static LocalSessionStorecreate(Vertx vertx, String sessionMapName, long reaperInterval)booleanequals(Object o)io.vertx.ext.web.sstore.LocalSessionStoregetDelegate()inthashCode()static LocalSessionStorenewInstance(io.vertx.ext.web.sstore.LocalSessionStore arg)StringtoString()-
Methods inherited from class io.vertx.mutiny.ext.web.sstore.SessionStore
clear, clearAndAwait, clearAndForget, close, 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<LocalSessionStore> __TYPE_ARG
-
DEFAULT_SESSIONID_LENGTH
public static final int DEFAULT_SESSIONID_LENGTH
Default length for a session id. More info: https://www.owasp.org/index.php/Session_Management_Cheat_Sheet- See Also:
- Constant Field Values
-
DEFAULT_REAPER_INTERVAL
public static final long DEFAULT_REAPER_INTERVAL
Default of how often, in ms, to check for expired sessions- See Also:
- Constant Field Values
-
DEFAULT_SESSION_MAP_NAME
public static final String DEFAULT_SESSION_MAP_NAME
Default name for map used to store sessions- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LocalSessionStore
public LocalSessionStore(io.vertx.ext.web.sstore.LocalSessionStore delegate)
-
LocalSessionStore
public LocalSessionStore(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.web.sstore.LocalSessionStore getDelegate()
- Overrides:
getDelegatein classSessionStore
-
toString
public String toString()
- Overrides:
toStringin classSessionStore
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classSessionStore
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSessionStore
-
create
public static LocalSessionStore create(Vertx vertx)
- Parameters:
vertx- the Vert.x instance- Returns:
- the session store
-
create
public static LocalSessionStore create(Vertx vertx, String sessionMapName)
- Parameters:
vertx- the Vert.x instancesessionMapName- name for map used to store sessions- Returns:
- the session store
-
create
public static LocalSessionStore create(Vertx vertx, String sessionMapName, long reaperInterval)
- Parameters:
vertx- the Vert.x instancesessionMapName- name for map used to store sessionsreaperInterval- how often, in ms, to check for expired sessions- Returns:
- the session store
-
newInstance
public static LocalSessionStore newInstance(io.vertx.ext.web.sstore.LocalSessionStore arg)
-
-