API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.web.server. JOTWebSession View Source
Author(s)
thibautc
Since
Version
Serial
Hierarchy
 Object
      JOTWebSession
Implements
Subclasses
Description
public class JOTWebSession
Represent a web session
See also:   
Constructors
private JOTWebSession ()
use JOTWEbSession(uniqueId) instead
pack-private JOTWebSession (String uniqueId)
  Instead, retrieve a session using request.getSession() (JOTSessionManager)
Methods
Hide/Show inherited methods
public Object getAttribute (String name)
  return a session attribute
public Enumeration getAttributeNames ()
 
public long getCreationTime ()
  return creation time as long (ms since jan 1 1970)
public String getId ()
  return the session ID
public long getLastAccessedTime ()
  return the last time the session was accessed
public int getMaxInactiveInterval ()
  Get the session expiration time (in Seconds) of inactivity
public ServletContext getServletContext ()
 
public HttpSessionContext getSessionContext ()
  Unsafe and deprecated ..
public Object getValue (String name)
 
public String getValueNames ()
 
public void invalidate ()
 
public boolean isExpired ()
pack-private boolean isInvalidated ()
public boolean isNew ()
 
public void putValue (String key, Object value)
 
public void removeAttribute (String key)
 
public void removeValue (String key)
 
public void setAttribute (String key, Object value)
 
pack-private void setLastAccessTime (long time)
public void setMaxInactiveInterval (int intervalInSec)
  Set the session expiration time (in Seconds) of inactivity
pack-private void setNew (boolean value)
Fields
Hide/Show inherited fields
pack-private boolean invalidated
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar