Package org.wildfly.clustering.session
Interface SessionAttributes
- All Superinterfaces:
ImmutableSessionAttributes
Exposes accesses to the attributes of a session.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionremoveAttribute(String name) Removes the specified attribute.setAttribute(String name, Object value) Sets the specified attribute to the specified value.Methods inherited from interface org.wildfly.clustering.session.ImmutableSessionAttributes
getAttribute, getAttributeNames, getAttributes
-
Method Details
-
removeAttribute
Removes the specified attribute.- Parameters:
name- a unique attribute name- Returns:
- the removed attribute value, or null if the attribute does not exist.
-
setAttribute
Sets the specified attribute to the specified value.- Parameters:
name- a unique attribute namevalue- the attribute value- Returns:
- the old attribute value, or null if the attribute did not previously exist.
-