API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.web.server. JOTSessionManager View Source
Author(s)
thibautc
Since
Version
Serial
Hierarchy
 Object
      JOTSessionManager
Implements
Subclasses
Description
public class JOTSessionManager
Manage Web sessions TODO: session cleanup thread
See also:   
Constructors
public JOTSessionManager ()
Methods
Hide/Show inherited methods
public JOTWebSession createSession ()
  Create a new session witha new unique ID
public void finalize () throws Throwable
publicstatic JOTSessionManager getInstance ()
public JOTWebSession getOrCreateSession (String sessionId)
  if session does not exist yet, then create one (with a new sessionId, not the one passed)
pack-private ServletContext getServletContext ()
public JOTWebSession getSession (String sessionId)
  returns null if does not exists or invalid / expired
public boolean isExpired (String sessionId)
publicstatic void shutdown ()
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar