org.mortbay.jetty.servlet
Class HashSessionManager

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

public class HashSessionManager
extends AbstractSessionManager

An in-memory implementation of SessionManager.

Version:
$Id: HashSessionManager.java,v 1.16 2004/05/09 20:32:27 gregwilkins Exp $
Author:
Greg Wilkins (gregw)
See Also:
Serialized Form

Nested Class Summary
protected  class HashSessionManager.Session
           
 
Field Summary
 
Fields inherited from class org.mortbay.jetty.servlet.AbstractSessionManager
__allSessions, __distantFuture, _crossContextSessionIDs, _handler, _httpOnly, _invalidateGlobal, _maxSessions, _minSessions, _random, _secureCookies, _sessionAttributeListeners, _sessionListeners, _sessions, _weakRandom
 
Fields inherited from interface org.mortbay.jetty.servlet.SessionManager
__MaxAge, __SessionCookie, __SessionDomain, __SessionPath, __SessionURL, __SessionUrlPrefix
 
Constructor Summary
HashSessionManager()
           
HashSessionManager(java.util.Random random)
           
 
Method Summary
protected  AbstractSessionManager.Session newSession(HttpServletRequest request)
           
 
Methods inherited from class org.mortbay.jetty.servlet.AbstractSessionManager
addEventListener, getCrossContextSessionIDs, getHttpOnly, getHttpSession, getMaxInactiveInterval, getMaxSessions, getMinSessions, getRandom, getScavengePeriod, getSecureCookies, getSessionCookie, getSessionMap, getSessions, getUseRequestedId, getWorkerName, initialize, isInvalidateGlobal, isStarted, newHttpSession, removeEventListener, resetStats, setCrossContextSessionIDs, setHttpOnly, setInvalidateGlobal, setMaxInactiveInterval, setRandom, setScavengePeriod, setSecureCookies, setUseRequestedId, setWorkerName, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashSessionManager

public HashSessionManager()

HashSessionManager

public HashSessionManager(java.util.Random random)
Method Detail

newSession

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


Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.