Class PaxWebSessionIdManager

  • All Implemented Interfaces:
    org.eclipse.jetty.server.SessionIdManager, org.eclipse.jetty.util.component.Container, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.util.component.Dumpable.DumpableContainer, org.eclipse.jetty.util.component.LifeCycle

    public class PaxWebSessionIdManager
    extends org.eclipse.jetty.server.session.DefaultSessionIdManager
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container

        org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.Listener
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable

        org.eclipse.jetty.util.component.Dumpable.DumpableContainer
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle

        org.eclipse.jetty.util.component.LifeCycle.Listener
    • Field Summary

      • Fields inherited from class org.eclipse.jetty.server.session.DefaultSessionIdManager

        __NEW_SESSION_ID, _houseKeeper, _ownHouseKeeper, _random, _reseed, _server, _weakRandom, _workerAttr, _workerName, COUNTER
      • Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
      • Fields inherited from interface org.eclipse.jetty.util.component.Dumpable

        KEY
    • Constructor Summary

      Constructors 
      Constructor Description
      PaxWebSessionIdManager​(org.eclipse.jetty.server.Server server)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static String getSessionIdSuffix​(javax.servlet.http.HttpServletRequest request)  
      String newSessionId​(javax.servlet.http.HttpServletRequest request, long created)  
      String renewSessionId​(String oldClusterId, String oldNodeId, javax.servlet.http.HttpServletRequest request)  
      • Methods inherited from class org.eclipse.jetty.server.session.DefaultSessionIdManager

        doStart, doStop, expireAll, getExtendedId, getId, getRandom, getReseed, getServer, getSessionHandlers, getSessionHouseKeeper, getWorkerName, initRandom, invalidateAll, isIdInUse, newSessionId, setRandom, setReseed, setServer, setSessionHouseKeeper, setWorkerName, toString
      • Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle

        addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpObjects, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans
      • Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
      • Methods inherited from interface org.eclipse.jetty.util.component.Dumpable

        dumpSelf
      • Methods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer

        isDumpable
      • Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle

        addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
    • Constructor Detail

      • PaxWebSessionIdManager

        public PaxWebSessionIdManager​(org.eclipse.jetty.server.Server server)
    • Method Detail

      • getSessionIdSuffix

        public static String getSessionIdSuffix​(javax.servlet.http.HttpServletRequest request)
      • renewSessionId

        public String renewSessionId​(String oldClusterId,
                                     String oldNodeId,
                                     javax.servlet.http.HttpServletRequest request)
        Specified by:
        renewSessionId in interface org.eclipse.jetty.server.SessionIdManager
        Overrides:
        renewSessionId in class org.eclipse.jetty.server.session.DefaultSessionIdManager
      • newSessionId

        public String newSessionId​(javax.servlet.http.HttpServletRequest request,
                                   long created)
        Specified by:
        newSessionId in interface org.eclipse.jetty.server.SessionIdManager
        Overrides:
        newSessionId in class org.eclipse.jetty.server.session.DefaultSessionIdManager