|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VelocityRequestSession
An object that stores Session information for a user;
| Method Summary | |
|---|---|
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. |
Enumeration<String> |
getAttributeNames()
Returns an Enumeration of String objects containing the names of all the objects bound to this session. |
String |
getId()
Returns a string containing the unique identifier assigned to this session. |
void |
invalidate()
Invalidates this session and unbinds any objects bound to it. |
void |
removeAttribute(String name)
Removes the object bound with the specified name from this session. |
void |
setAttribute(String name,
Object value)
Binds an object to this session, using the name specified. |
| Method Detail |
|---|
String getId()
Object getAttribute(String name)
name - a string specifying the name of the object
Enumeration<String> getAttributeNames()
void setAttribute(String name,
Object value)
name - the name to which the object is bound; cannot be nullvalue - the object to be bound; cannot be nullvoid removeAttribute(String name)
name - the name of the object to remove from this sessionvoid invalidate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||