public class HttpSessionContext extends Object implements Context
Context
implementation.
This implementation needs to be configured manually for use by
ContextFactory.newContext()
. See the
factory for how to configure this class to be used.
ServletFilter
Constructor and Description |
---|
HttpSessionContext() |
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String key) |
Object |
getObject(String key) |
Collection |
getObjectKeys() |
javax.servlet.http.HttpSession |
getSession() |
Object |
removeAttribute(String key) |
Object |
removeObject(String key) |
Object |
setAttribute(String key,
Serializable o) |
Object |
setObject(String key,
Object o) |
public HttpSessionContext()
public final Collection getObjectKeys()
getObjectKeys
in interface Context
public final Object removeObject(String key)
removeObject
in interface Context
public final Object getAttribute(String key)
getAttribute
in interface Context
public final Object setAttribute(String key, Serializable o)
setAttribute
in interface Context
public final Object removeAttribute(String key)
removeAttribute
in interface Context
public javax.servlet.http.HttpSession getSession()
ServletFilter.getHttpSession()
Copyright © 2005-2012 jDTAUS. All Rights Reserved.