org.apache.openejb.server.httpd
Class ServletSessionAdapter
java.lang.Object
org.apache.openejb.server.httpd.ServletSessionAdapter
- All Implemented Interfaces:
- HttpSession
public class ServletSessionAdapter
- extends Object
- implements HttpSession
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletSessionAdapter
public ServletSessionAdapter(javax.servlet.http.HttpSession session)
getId
public String getId()
- Description copied from interface:
HttpSession
- Returns a string containing the unique identifier assigned to this
session. The identifier is assigned by the ejb container and is
implementation dependent.
- Specified by:
getId
in interface HttpSession
- Returns:
- a string specifying the identifier assigned to this session
getAttribute
public Object getAttribute(String name)
- Description copied from interface:
HttpSession
- Returns the object bound with the specified name in this session, or
null
if no object is bound under the name.
- Specified by:
getAttribute
in interface HttpSession
- Parameters:
name
- a string specifying the name of the object
- Returns:
- the object with the specified name
setAttribute
public void setAttribute(String name,
Object value)
- Description copied from interface:
HttpSession
- 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.
- Specified by:
setAttribute
in interface HttpSession
- Parameters:
name
- the name to which the object is bound; cannot be nullvalue
- the object to be bound
removeAttribute
public void removeAttribute(String name)
- Specified by:
removeAttribute
in interface HttpSession
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.