yawda.controller.session
Class CPersistentSession
java.lang.Object
yawda.controller.session.CPersistentSession
- All Implemented Interfaces:
- javax.servlet.http.HttpSession, IPersistentSession, Serializable
- public final class CPersistentSession
- extends Object
- implements IPersistentSession
- Author:
- Quentin Anciaux
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CPersistentSession
public CPersistentSession(int TTL,
int MII,
String id,
ISessionStore store)
setStore
public final void setStore(ISessionStore store)
- Specified by:
setStore in interface IPersistentSession
getCreationTime
public final long getCreationTime()
- Specified by:
getCreationTime in interface javax.servlet.http.HttpSession
getId
public final String getId()
- Specified by:
getId in interface javax.servlet.http.HttpSession
getLastAccessedTime
public final long getLastAccessedTime()
- Specified by:
getLastAccessedTime in interface javax.servlet.http.HttpSession
getServletContext
public final javax.servlet.ServletContext getServletContext()
- Specified by:
getServletContext in interface javax.servlet.http.HttpSession
setMaxInactiveInterval
public final void setMaxInactiveInterval(int MII)
- Specified by:
setMaxInactiveInterval in interface javax.servlet.http.HttpSession
getMaxInactiveInterval
public final int getMaxInactiveInterval()
- Specified by:
getMaxInactiveInterval in interface javax.servlet.http.HttpSession
getTimeToLive
public final int getTimeToLive()
- Specified by:
getTimeToLive in interface IPersistentSession
getSessionContext
public final javax.servlet.http.HttpSessionContext getSessionContext()
- Specified by:
getSessionContext in interface javax.servlet.http.HttpSession
getAttribute
public final Object getAttribute(String key)
- Specified by:
getAttribute in interface javax.servlet.http.HttpSession
getValue
public final Object getValue(String key)
- Specified by:
getValue in interface javax.servlet.http.HttpSession
getAttributeNames
public final Enumeration getAttributeNames()
- Specified by:
getAttributeNames in interface javax.servlet.http.HttpSession
getValueNames
public final String[] getValueNames()
- Specified by:
getValueNames in interface javax.servlet.http.HttpSession
setAttribute
public final void setAttribute(String key,
Object value)
- Specified by:
setAttribute in interface javax.servlet.http.HttpSession
putValue
public final void putValue(String key,
Object value)
- Specified by:
putValue in interface javax.servlet.http.HttpSession
removeAttribute
public final void removeAttribute(String key)
- Specified by:
removeAttribute in interface javax.servlet.http.HttpSession
removeValue
public final void removeValue(String key)
- Specified by:
removeValue in interface javax.servlet.http.HttpSession
invalidate
public final void invalidate()
- Specified by:
invalidate in interface javax.servlet.http.HttpSession
isNew
public final boolean isNew()
- Specified by:
isNew in interface javax.servlet.http.HttpSession
setContext
public final void setContext(javax.servlet.ServletContext context)
- Specified by:
setContext in interface IPersistentSession
updateAccessedTime
public final void updateAccessedTime()
- Specified by:
updateAccessedTime in interface IPersistentSession
isValid
public final boolean isValid()
- Specified by:
isValid in interface IPersistentSession