org.apache.axis.transport.http
Class AxisHttpSession
java.lang.Object
|
+--org.apache.axis.transport.http.AxisHttpSession
- All Implemented Interfaces:
- Session
- public class AxisHttpSession
- extends java.lang.Object
- implements Session
An HTTP/Servlet implementation of Axis sessions.
- Author:
- Glen Daniels (gdaniels@macromedia.com)
Constructor Summary |
AxisHttpSession(javax.servlet.http.HttpSession realSession)
|
Method Summary |
java.lang.Object |
get(java.lang.String key)
Get a property from 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 |
setRep(javax.servlet.http.HttpSession realSession)
Set our internal HttpSession to the passed
servlet HttpSession. |
void |
setTimeout(int timeout)
Set the session's time-to-live. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AxisHttpSession
public AxisHttpSession(javax.servlet.http.HttpSession realSession)
setRep
public void setRep(javax.servlet.http.HttpSession realSession)
- Set our internal HttpSession to the passed
servlet HttpSession. Not sure if we'll really
need this method...
get
public java.lang.Object get(java.lang.String key)
- Get a property from the session
- Specified by:
get
in interface Session
- Parameters:
key
- the name of the property desired.
set
public void set(java.lang.String key,
java.lang.Object value)
- Set a property in the session
- Specified by:
set
in interface Session
- Parameters:
key
- the name of the property to set.value
- the value of the property.
remove
public void remove(java.lang.String key)
- Remove a property from the session
- Specified by:
remove
in interface Session
- Parameters:
key
- the name of the property desired.
setTimeout
public void setTimeout(int timeout)
- Set the session's time-to-live.
This is implementation-specific, but basically should be the #
of seconds of inactivity which will cause the session to time
out and invalidate. "inactivity" is implementation-specific.
- Specified by:
setTimeout
in interface Session
Copyright © 2001 Apache XML Project. All Rights Reserved.