|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.openfoundation.web.XPSession
public class XPSession
XPSession wraps HttpSession.
Constructor Summary | |
---|---|
XPSession(HttpSession session)
Constructs XPSession wrapping the passed HttpSession object. |
Method Summary | |
---|---|
void |
Abandon()
Invalidates this session then unbinds any objects bound to it. |
java.lang.Object |
GetAttribute(java.lang.String name)
Returns the session object bound with the specified name in this session, or null if no object is bound under the name. |
HttpSession |
GetUnderlyingObject()
This method retuns underlying HttpSession object. |
void |
RemoveAttribute(java.lang.String name)
Removes the object bound with the specified name from this session. |
void |
SetAttribute(java.lang.String name,
java.lang.Object _value)
Binds an object to this session, using the name specified. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XPSession(HttpSession session)
session
- - HttpSession object to be wrapped.Method Detail |
---|
public java.lang.Object GetAttribute(java.lang.String name)
GetAttribute
in interface IXPSession
name
- - a string specifying the name of the object
public void SetAttribute(java.lang.String name, java.lang.Object _value)
SetAttribute
in interface IXPSession
name
- - the name to which the object is bound; cannot be null_value
- - the object to be boundpublic void RemoveAttribute(java.lang.String name)
RemoveAttribute
in interface IXPSession
name
- - the name of the object to remove from this session.public void Abandon()
Abandon
in interface IXPSession
public HttpSession GetUnderlyingObject()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |