Class LocalSessionStore

java.lang.Object
io.vertx.mutiny.ext.web.sstore.SessionStore
io.vertx.mutiny.ext.web.sstore.LocalSessionStore
All Implemented Interfaces:
MutinyDelegate

public class LocalSessionStore extends SessionStore implements MutinyDelegate
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 Details

    • __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:
    • DEFAULT_REAPER_INTERVAL

      public static final long DEFAULT_REAPER_INTERVAL
      Default of how often, in ms, to check for expired sessions
      See Also:
    • DEFAULT_SESSION_MAP_NAME

      public static final String DEFAULT_SESSION_MAP_NAME
      Default name for map used to store sessions
      See Also:
  • Constructor Details

    • LocalSessionStore

      public LocalSessionStore(io.vertx.ext.web.sstore.LocalSessionStore delegate)
    • LocalSessionStore

      public LocalSessionStore(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.ext.web.sstore.LocalSessionStore getDelegate()
      Specified by:
      getDelegate in interface MutinyDelegate
      Overrides:
      getDelegate in class SessionStore
      Returns:
      the delegate used by this Mutiny object of generated type
    • toString

      public String toString()
      Overrides:
      toString in class SessionStore
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class SessionStore
    • hashCode

      public int hashCode()
      Overrides:
      hashCode 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)