All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.jigsaw.servlet.JigsawHttpSessionContext

java.lang.Object
   |
   +----org.w3c.jigsaw.servlet.JigsawHttpSessionContext

public class JigsawHttpSessionContext
extends Object
implements HttpSessionContext, PropertyMonitoring

Constructor Index

 o JigsawHttpSessionContext(httpd, ServletProps)

Method Index

 o addSession(JigsawHttpSession)
Add a session in this context.
 o getIds()
Returns an enumeration of all of the session IDs in this context.
 o getSession(String)
Returns the session bound to the specified session ID.
 o propertyChanged(String)
PropertyMonitoring implementation.
 o removeOldestIdleSession()
 o removeSession(String)
Remove a session of this session context.
 o sweepSession()
Remove sessions with idle time > max idle time

Constructors

 o JigsawHttpSessionContext
 public JigsawHttpSessionContext(httpd server,
                                 ServletProps props)

Methods

 o propertyChanged
 public boolean propertyChanged(String name)
PropertyMonitoring implementation.

 o sweepSession
 protected synchronized void sweepSession()
Remove sessions with idle time > max idle time

 o removeOldestIdleSession
 protected synchronized void removeOldestIdleSession()
 o getIds
 public Enumeration getIds()
Returns an enumeration of all of the session IDs in this context.

Returns:
an enumeration of all session IDs in this context.
 o getSession
 public HttpSession getSession(String sessionId)
Returns the session bound to the specified session ID.

Parameters:
sessionID - - the ID of a particular session object
Returns:
the session. Returns null if the session ID does not refer to a valid session.
 o addSession
 protected synchronized String addSession(JigsawHttpSession session)
Add a session in this context.

Parameters:
session - - The JigsawHttpSession to add.
Returns:
The session ID.
 o removeSession
 protected void removeSession(String id)
Remove a session of this session context.

Parameters:
id - - The session ID.

All Packages  Class Hierarchy  This Package  Previous  Next  Index