class SessionHttpContext extends Object implements HttpContext
Modifier and Type | Field and Description |
---|---|
private IOSession |
iosession |
RESERVED_PREFIX
Constructor and Description |
---|
SessionHttpContext(IOSession iosession) |
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String id)
Obtains attribute with the given name.
|
Object |
removeAttribute(String id)
Removes attribute with the given name from the context.
|
void |
setAttribute(String id,
Object obj)
Sets value of the attribute with the given name.
|
String |
toString() |
public SessionHttpContext(IOSession iosession)
public Object getAttribute(String id)
HttpContext
getAttribute
in interface HttpContext
id
- the attribute name.null
if not set.public Object removeAttribute(String id)
HttpContext
removeAttribute
in interface HttpContext
id
- the attribute name.null
if not set.public void setAttribute(String id, Object obj)
HttpContext
setAttribute
in interface HttpContext
id
- the attribute name.obj
- the attribute value.WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses