|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
---|
void removeAttribute(java.lang.String name)
java.lang.Object getAttribute(java.lang.String name)
null
if no object is bound under the name.
name
- a string specifying the name of the object
void setAttribute(java.lang.String name, java.lang.Object value)
name
- the name to which the object is bound; cannot be nullvalue
- the object to be boundjava.lang.String getId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |