org.apache.beehive.netui.pageflow.scoping.internal
Class ScopedSession
java.lang.Object
org.apache.beehive.netui.pageflow.scoping.internal.AttributeContainer
org.apache.beehive.netui.pageflow.scoping.internal.ScopedAttributeContainer
org.apache.beehive.netui.pageflow.scoping.internal.ScopedSession
- All Implemented Interfaces
- Serializable, javax.servlet.http.HttpSession
public class ScopedSession
- extends ScopedAttributeContainer
- implements javax.servlet.http.HttpSession, Serializable
A wrapper around HttpSession, associated with a given scope-key. All calls to setAttribute,
getAttribute, removeAttribute, etc. are scoped to this object, while most other functionality
delegates to the wrapped HttpSession.
- See Also
- Serialized Form
Constructor Summary |
ScopedSession()
This constructor exists only for deserialization. |
ScopedSession(javax.servlet.http.HttpSession session,
javax.servlet.ServletContext cxt,
Object scopeKey)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.http.HttpSession |
getAttribute, getAttributeNames, removeAttribute, setAttribute |
ScopedSession
public ScopedSession()
- This constructor exists only for deserialization.
ScopedSession
public ScopedSession(javax.servlet.http.HttpSession session,
javax.servlet.ServletContext cxt,
Object scopeKey)
getCreationTime
public long getCreationTime()
- Specified by:
getCreationTime
in interface javax.servlet.http.HttpSession
getId
public String getId()
- Specified by:
getId
in interface javax.servlet.http.HttpSession
getLastAccessedTime
public long getLastAccessedTime()
- Specified by:
getLastAccessedTime
in interface javax.servlet.http.HttpSession
getServletContext
public javax.servlet.ServletContext getServletContext()
- Specified by:
getServletContext
in interface javax.servlet.http.HttpSession
setMaxInactiveInterval
public void setMaxInactiveInterval(int i)
- 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()
- Specified by:
getSessionContext
in interface javax.servlet.http.HttpSession
getValue
public Object getValue(String s)
- Specified by:
getValue
in interface javax.servlet.http.HttpSession
getValueNames
public String[] getValueNames()
- Specified by:
getValueNames
in interface javax.servlet.http.HttpSession
putValue
public void putValue(String s,
Object o)
- Specified by:
putValue
in interface javax.servlet.http.HttpSession
removeValue
public void removeValue(String s)
- Specified by:
removeValue
in interface javax.servlet.http.HttpSession
invalidate
public void invalidate()
- Specified by:
invalidate
in interface javax.servlet.http.HttpSession
isNew
public boolean isNew()
- Specified by:
isNew
in interface javax.servlet.http.HttpSession
getOuterSession
public javax.servlet.http.HttpSession getOuterSession()
- Returns the real (outer) HttpSession.
Copyright © 2011, Oracle. All rights reserved.