org.openejb.server.httpd
Interface HttpSession


public interface HttpSession


Method Summary
 java.lang.Object getAttribute(java.lang.String name)
          Returns the object bound with the specified name in this session, or null if no object is bound under the name.
 java.lang.String getId()
          Returns a string containing the unique identifier assigned to this session.
 void removeAttribute(java.lang.String name)
           
 void setAttribute(java.lang.String name, java.lang.Object value)
          Binds an object to this session, using the name specified.
 

Method Detail

removeAttribute

void removeAttribute(java.lang.String name)

getAttribute

java.lang.Object getAttribute(java.lang.String name)
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
Returns:
the object with the specified name

setAttribute

void setAttribute(java.lang.String name,
                  java.lang.Object value)
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
value - the object to be bound

getId

java.lang.String getId()
Returns a string containing the unique identifier assigned to this session. The identifier is assigned by the ejb container and is implementation dependent.

Returns:
a string specifying the identifier assigned to this session


Copyright © 1999-2011 OpenEJB. All Rights Reserved.