org.apache.cxf.transport.http
Class HTTPSession
java.lang.Object
org.apache.cxf.transport.http.HTTPSession
- All Implemented Interfaces:
- Session
public class HTTPSession
- extends Object
- implements Session
A session implementation bound to HTTP.
Constructor Summary |
HTTPSession(javax.servlet.http.HttpServletRequest request)
|
Method Summary |
Object |
get(Object key)
Get a variable from the session by the key. |
javax.servlet.http.HttpSession |
getSession()
|
void |
put(Object key,
Object value)
Put a variable into the session with a key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTPSession
public HTTPSession(javax.servlet.http.HttpServletRequest request)
get
public Object get(Object key)
- Description copied from interface:
Session
- Get a variable from the session by the key.
- Specified by:
get
in interface Session
- Returns:
- Value
put
public void put(Object key,
Object value)
- Description copied from interface:
Session
- Put a variable into the session with a key.
- Specified by:
put
in interface Session
getSession
public javax.servlet.http.HttpSession getSession()
Apache CXF