jet.scratchboard
Class Session
java.lang.Object
jet.scratchboard.Session
- All Implemented Interfaces:
- javax.servlet.http.HttpSession
public class Session
- extends java.lang.Object
- implements javax.servlet.http.HttpSession
- Author:
- Markus Meisters
|
Field Summary |
(package private) java.util.TreeMap |
map
mapped data |
private javax.servlet.http.HttpSession |
session
holds the httpsession |
|
Constructor Summary |
Session()
Constructor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
session
private javax.servlet.http.HttpSession session
- holds the httpsession
map
java.util.TreeMap map
- mapped data
Session
public Session()
- Constructor
init
public void init(javax.servlet.http.HttpSession session,
java.util.TreeMap map)
- init method
- Parameters:
session - http sessionmap - data map
isNew
public boolean isNew()
- Specified by:
isNew in interface javax.servlet.http.HttpSession
- See Also:
HttpSession.isNew()
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
- Specified by:
getAttribute in interface javax.servlet.http.HttpSession
- See Also:
HttpSession.getAttribute(String)
getAttributeNames
public java.util.Enumeration getAttributeNames()
- Specified by:
getAttributeNames in interface javax.servlet.http.HttpSession
- See Also:
HttpSession.getAttributeNames()
getCreationTime
public long getCreationTime()
- Specified by:
getCreationTime in interface javax.servlet.http.HttpSession
- See Also:
HttpSession.getCreationTime()
getId
public java.lang.String getId()
- Specified by:
getId in interface javax.servlet.http.HttpSession
- See Also:
HttpSession.getId()
getLastAccessedTime
public long getLastAccessedTime()
- Specified by:
getLastAccessedTime in interface javax.servlet.http.HttpSession
- See Also:
HttpSession.getLastAccessedTime()
getMaxInactiveInterval
public int getMaxInactiveInterval()
- Specified by:
getMaxInactiveInterval in interface javax.servlet.http.HttpSession
- See Also:
HttpSession.getMaxInactiveInterval()
getServletContext
public javax.servlet.ServletContext getServletContext()
- Specified by:
getServletContext in interface javax.servlet.http.HttpSession
- See Also:
HttpSession.getServletContext()
getSessionContext
public javax.servlet.http.HttpSessionContext getSessionContext()
- Specified by:
getSessionContext in interface javax.servlet.http.HttpSession
- See Also:
HttpSession.getSessionContext()
getValue
public java.lang.Object getValue(java.lang.String name)
- Specified by:
getValue in interface javax.servlet.http.HttpSession
- See Also:
HttpSession.getValue(String)
getValueNames
public java.lang.String[] getValueNames()
- Specified by:
getValueNames in interface javax.servlet.http.HttpSession
- See Also:
HttpSession.getValueNames()
invalidate
public void invalidate()
- Specified by:
invalidate in interface javax.servlet.http.HttpSession
- See Also:
HttpSession.invalidate()
putValue
public void putValue(java.lang.String name,
java.lang.Object object)
- Specified by:
putValue in interface javax.servlet.http.HttpSession
- See Also:
HttpSession.putValue(String, Object)
removeAttribute
public void removeAttribute(java.lang.String name)
- Specified by:
removeAttribute in interface javax.servlet.http.HttpSession
- See Also:
HttpSession.removeAttribute(String)
removeValue
public void removeValue(java.lang.String name)
- Specified by:
removeValue in interface javax.servlet.http.HttpSession
- See Also:
HttpSession.removeValue(String)
setMaxInactiveInterval
public void setMaxInactiveInterval(int interval)
- Specified by:
setMaxInactiveInterval in interface javax.servlet.http.HttpSession
- See Also:
HttpSession.setMaxInactiveInterval(int)
setAttribute
public void setAttribute(java.lang.String string,
java.lang.Object object)
- Specified by:
setAttribute in interface javax.servlet.http.HttpSession
- See Also:
HttpSession.setAttribute(String, Object)