Class 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 the original non Mutiny-ified interface using Vert.x codegen.

    • Field Detail

      • 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:
        getDelegate in class SessionStore
      • 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 instance
        sessionMapName - 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 instance
        sessionMapName - name for map used to store sessions
        reaperInterval - 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)