public interface Session
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Get the value of the attribute with the specified name.
|
java.lang.Object |
removeAttribute(java.lang.String name)
Remove the attribute with the specified name, and return the value of the removed attribute.
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Set the value of the attribute with the specified name.
|
java.lang.Object getAttribute(java.lang.String name)
name
- The attribute name.void setAttribute(java.lang.String name, java.lang.Object value)
name
- The attribute name.value
- The attribute value.java.lang.Object removeAttribute(java.lang.String name)
name
- The attribute name.