|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis.transport.http.AxisHttpSession
public class AxisHttpSession
An HTTP/Servlet implementation of Axis sessions.
Field Summary | |
---|---|
static java.lang.String |
AXIS_SESSION_MARKER
|
Constructor Summary | |
---|---|
AxisHttpSession(javax.servlet.http.HttpServletRequest realRequest)
|
|
AxisHttpSession(javax.servlet.http.HttpSession realSession)
|
Method Summary | |
---|---|
protected void |
ensureSession()
|
java.lang.Object |
get(java.lang.String key)
Get a property from the session |
java.util.Enumeration |
getKeys()
Get an enumeration of the keys in this session |
java.lang.Object |
getLockObject()
Get an Object suitable for synchronizing the session. |
javax.servlet.http.HttpSession |
getRep()
Get the internal HttpSession. |
int |
getTimeout()
Return the sessions' time-to-live. |
void |
invalidate()
invalidate the session |
void |
remove(java.lang.String key)
Remove a property from the session |
void |
set(java.lang.String key,
java.lang.Object value)
Set a property in the session |
void |
setTimeout(int timeout)
Set the session's time-to-live. |
void |
touch()
"Touch" the session (mark it recently used) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String AXIS_SESSION_MARKER
Constructor Detail |
---|
public AxisHttpSession(javax.servlet.http.HttpServletRequest realRequest)
public AxisHttpSession(javax.servlet.http.HttpSession realSession)
Method Detail |
---|
public javax.servlet.http.HttpSession getRep()
public java.lang.Object get(java.lang.String key)
get
in interface Session
key
- the name of the property desired.public void set(java.lang.String key, java.lang.Object value)
set
in interface Session
key
- the name of the property to set.value
- the value of the property.public void remove(java.lang.String key)
remove
in interface Session
key
- the name of the property desired.public java.util.Enumeration getKeys()
getKeys
in interface Session
public void setTimeout(int timeout)
setTimeout
in interface Session
public int getTimeout()
getTimeout
in interface Session
public void touch()
touch
in interface Session
public void invalidate()
invalidate
in interface Session
protected void ensureSession()
public java.lang.Object getLockObject()
getLockObject
in interface Session
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |