org.mortbay.jetty.servlet
Class HashSessionManager

java.lang.Object
  extended by org.mortbay.component.AbstractLifeCycle
      extended by org.mortbay.jetty.servlet.AbstractSessionManager
          extended by org.mortbay.jetty.servlet.HashSessionManager
All Implemented Interfaces:
Serializable, LifeCycle, SessionManager

public class HashSessionManager
extends AbstractSessionManager

An in-memory implementation of SessionManager.

Author:
Greg Wilkins (gregw)
See Also:
Serialized Form

Nested Class Summary
protected  class HashSessionManager.Session
           
 
Nested classes/interfaces inherited from class org.mortbay.jetty.servlet.AbstractSessionManager
AbstractSessionManager.NullMetaManager, AbstractSessionManager.NullSessionContext, AbstractSessionManager.SessionScavenger, AbstractSessionManager.SimpleMetaManager
 
Nested classes/interfaces inherited from interface org.mortbay.jetty.SessionManager
SessionManager.MetaManager
 
Field Summary
 
Fields inherited from class org.mortbay.jetty.servlet.AbstractSessionManager
__distantFuture, _context, _httpOnly, _loader, _maxSessions, _minSessions, _random, _secureCookies, _sessionAttributeListeners, _sessionListeners, _sessions
 
Fields inherited from interface org.mortbay.jetty.SessionManager
__MaxAge, __SessionCookie, __SessionDomain, __SessionPath, __SessionURL, __SessionUrlPrefix
 
Constructor Summary
HashSessionManager()
           
HashSessionManager(Random random)
           
 
Method Summary
protected  AbstractSessionManager.Session newSession(HttpServletRequest request)
           
 
Methods inherited from class org.mortbay.jetty.servlet.AbstractSessionManager
addEventListener, clearEventListeners, doStart, doStop, getHttpOnly, getHttpSession, getMaxInactiveInterval, getMaxSessions, getMetaManager, getMinSessions, getScavengePeriod, getSecureCookies, getSessionCookie, getSessionMap, getSessions, getWorkerName, isUsingCookies, newHttpSession, removeEventListener, resetStats, setHttpOnly, setMaxInactiveInterval, setMetaManager, setScavengePeriod, setSecureCookies, setUsingCookies, setWorkerName
 
Methods inherited from class org.mortbay.component.AbstractLifeCycle
isFailed, isRunning, isStarted, isStarting, isStopping, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mortbay.component.LifeCycle
isFailed, isRunning, isStarted, isStarting, isStopping, start, stop
 

Constructor Detail

HashSessionManager

public HashSessionManager()

HashSessionManager

public HashSessionManager(Random random)
Method Detail

newSession

protected AbstractSessionManager.Session newSession(HttpServletRequest request)
Specified by:
newSession in class AbstractSessionManager