org.mortbay.jetty.servlet

Class HashSessionManager

Implemented Interfaces:
LifeCycle, Serializable, SessionManager

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)

Nested Class Summary

protected class
HashSessionManager.Session

Nested classes/interfaces inherited from class org.mortbay.jetty.servlet.AbstractSessionManager

AbstractSessionManager.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(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, newSession, removeEventListener, resetStats, setCrossContextSessionIDs, setHttpOnly, setInvalidateGlobal, setMaxInactiveInterval, setRandom, setScavengePeriod, setSecureCookies, setUseRequestedId, setWorkerName, start, stop

Constructor Details

HashSessionManager

public HashSessionManager()

HashSessionManager

public HashSessionManager(Random random)

Method Details

newSession

protected AbstractSessionManager.Session newSession(HttpServletRequest request)
Overrides:
newSession in interface AbstractSessionManager

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