| org.apache.openejb.server.httpd.HttpSession
All known Subclasses: org.apache.openejb.server.httpd.ServletSessionAdapter,
HttpSession | public interface HttpSession (Code) | | |
Method Summary | |
public Object | getAttribute(String name) Returns the object bound with the specified name in this session, or
null if no object is bound under the name. | public String | getId() Returns a string containing the unique identifier assigned to this
session. | public void | removeAttribute(String name) | public void | setAttribute(String name, Object value) Binds an object to this session, using the name specified. |
getAttribute | public Object getAttribute(String name)(Code) | | Returns the object bound with the specified name in this session, or
null if no object is bound under the name.
Parameters: name - a string specifying the name of the object the object with the specified name |
getId | public String getId()(Code) | | Returns a string containing the unique identifier assigned to this
session. The identifier is assigned by the ejb container and is
implementation dependent.
a string specifying the identifier assigned to this session |
removeAttribute | public void removeAttribute(String name)(Code) | | |
setAttribute | public void setAttribute(String name, Object value)(Code) | | Binds an object to this session, using the name specified. If an object
of the same name is already bound to the session, the object is
replaced.
Parameters: name - the name to which the object is bound; cannot be null Parameters: value - the object to be bound |
|
|