Class TowSessionManager

java.lang.Object
com.aspectran.undertow.server.session.TowSessionManager
All Implemented Interfaces:
DisposableBean, ApplicationAdapterAware, Aware, io.undertow.server.session.SessionManager

public class TowSessionManager extends Object implements io.undertow.server.session.SessionManager, ApplicationAdapterAware, DisposableBean

Created: 2019-08-07

  • Constructor Details

    • TowSessionManager

      public TowSessionManager()
  • Method Details

    • setApplicationAdapter

      public void setApplicationAdapter(ApplicationAdapter applicationAdapter)
      Specified by:
      setApplicationAdapter in interface ApplicationAdapterAware
    • setSessionManagerConfig

      public void setSessionManagerConfig(SessionManagerConfig sessionManagerConfig)
    • setSessionManagerConfigWithApon

      public void setSessionManagerConfigWithApon(String apon)
    • setSessionStore

      public void setSessionStore(SessionStore sessionStore)
    • getSessionHandler

      public SessionHandler getSessionHandler()
    • getDeploymentName

      public String getDeploymentName()
      Specified by:
      getDeploymentName in interface io.undertow.server.session.SessionManager
    • start

      public void start()
      Specified by:
      start in interface io.undertow.server.session.SessionManager
    • stop

      public void stop()
      Specified by:
      stop in interface io.undertow.server.session.SessionManager
    • destroy

      public void destroy() throws Exception
      Description copied from interface: DisposableBean
      A DisposableBean implementation that calls the destroy() method.
      Specified by:
      destroy in interface DisposableBean
      Throws:
      Exception - if destruction fails
    • createSession

      public io.undertow.server.session.Session createSession(io.undertow.server.HttpServerExchange exchange, io.undertow.server.session.SessionConfig sessionConfig)
      Specified by:
      createSession in interface io.undertow.server.session.SessionManager
    • getSession

      public io.undertow.server.session.Session getSession(io.undertow.server.HttpServerExchange exchange, io.undertow.server.session.SessionConfig sessionConfig)
      Specified by:
      getSession in interface io.undertow.server.session.SessionManager
    • getSession

      public io.undertow.server.session.Session getSession(String sessionId)
      Specified by:
      getSession in interface io.undertow.server.session.SessionManager
    • registerSessionListener

      public void registerSessionListener(io.undertow.server.session.SessionListener listener)
      Specified by:
      registerSessionListener in interface io.undertow.server.session.SessionManager
    • removeSessionListener

      public void removeSessionListener(io.undertow.server.session.SessionListener listener)
      Specified by:
      removeSessionListener in interface io.undertow.server.session.SessionManager
    • setDefaultSessionTimeout

      public void setDefaultSessionTimeout(int timeout)
      Specified by:
      setDefaultSessionTimeout in interface io.undertow.server.session.SessionManager
    • getTransientSessions

      public Set<String> getTransientSessions()
      Specified by:
      getTransientSessions in interface io.undertow.server.session.SessionManager
    • getActiveSessions

      public Set<String> getActiveSessions()
      Specified by:
      getActiveSessions in interface io.undertow.server.session.SessionManager
    • getAllSessions

      public Set<String> getAllSessions()
      Specified by:
      getAllSessions in interface io.undertow.server.session.SessionManager
    • getStatistics

      public io.undertow.server.session.SessionManagerStatistics getStatistics()
      Specified by:
      getStatistics in interface io.undertow.server.session.SessionManager