com.judoscript.user.httpserver
Class ServeSessionImpl
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable
com.judoscript.user.httpserver.ServeSessionImpl
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map, javax.servlet.http.HttpSession
public class ServeSessionImpl
- extends java.util.Hashtable
- implements javax.servlet.http.HttpSession
Http session support
- See Also:
- Serialized Form
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
getCreationTime
public long getCreationTime()
- Specified by:
getCreationTime
in interface javax.servlet.http.HttpSession
getId
public java.lang.String getId()
- Specified by:
getId
in interface javax.servlet.http.HttpSession
getLastAccessedTime
public long getLastAccessedTime()
- Specified by:
getLastAccessedTime
in interface javax.servlet.http.HttpSession
setMaxInactiveInterval
public void setMaxInactiveInterval(int interval)
- Specified by:
setMaxInactiveInterval
in interface javax.servlet.http.HttpSession
getMaxInactiveInterval
public int getMaxInactiveInterval()
- Specified by:
getMaxInactiveInterval
in interface javax.servlet.http.HttpSession
getSessionContext
public javax.servlet.http.HttpSessionContext getSessionContext()
- Deprecated.
- Specified by:
getSessionContext
in interface javax.servlet.http.HttpSession
getServletContext
public javax.servlet.ServletContext getServletContext()
- Returns the ServletContext to which this session belongs.
- Specified by:
getServletContext
in interface javax.servlet.http.HttpSession
- Returns:
- The ServletContext object for the web application
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
throws java.lang.IllegalStateException
- Specified by:
getAttribute
in interface javax.servlet.http.HttpSession
- Throws:
java.lang.IllegalStateException
getValue
public java.lang.Object getValue(java.lang.String name)
throws java.lang.IllegalStateException
- Specified by:
getValue
in interface javax.servlet.http.HttpSession
- Throws:
java.lang.IllegalStateException
getAttributeNames
public java.util.Enumeration getAttributeNames()
throws java.lang.IllegalStateException
- Specified by:
getAttributeNames
in interface javax.servlet.http.HttpSession
- Throws:
java.lang.IllegalStateException
getValueNames
public java.lang.String[] getValueNames()
throws java.lang.IllegalStateException
- Specified by:
getValueNames
in interface javax.servlet.http.HttpSession
- Throws:
java.lang.IllegalStateException
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value)
throws java.lang.IllegalStateException
- Specified by:
setAttribute
in interface javax.servlet.http.HttpSession
- Throws:
java.lang.IllegalStateException
putValue
public void putValue(java.lang.String name,
java.lang.Object value)
throws java.lang.IllegalStateException
- Specified by:
putValue
in interface javax.servlet.http.HttpSession
- Throws:
java.lang.IllegalStateException
removeAttribute
public void removeAttribute(java.lang.String name)
throws java.lang.IllegalStateException
- Specified by:
removeAttribute
in interface javax.servlet.http.HttpSession
- Throws:
java.lang.IllegalStateException
removeValue
public void removeValue(java.lang.String name)
throws java.lang.IllegalStateException
- Specified by:
removeValue
in interface javax.servlet.http.HttpSession
- Throws:
java.lang.IllegalStateException
invalidate
public void invalidate()
throws java.lang.IllegalStateException
- Specified by:
invalidate
in interface javax.servlet.http.HttpSession
- Throws:
java.lang.IllegalStateException
isOverdue
public boolean isOverdue()
isNew
public boolean isNew()
throws java.lang.IllegalStateException
- Specified by:
isNew
in interface javax.servlet.http.HttpSession
- Throws:
java.lang.IllegalStateException