public class CoarseSessionAttributes extends CoarseImmutableSessionAttributes implements SessionAttributes
| Constructor and Description |
|---|
CoarseSessionAttributes(MarshalledValue<Map<String,Object>,MarshallingContext> attributes,
SessionAttributeMarshaller<Map<String,Object>,MarshalledValue<Map<String,Object>,MarshallingContext>> marshaller,
Mutator mutator) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name)
Retrieves the value of the specified attribute.
|
Object |
removeAttribute(String name)
Removes the specified attribute.
|
Object |
setAttribute(String name,
Object value)
Sets the specified attribute to the specified value.
|
getAttributeNames, getAttributesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttributeNamespublic CoarseSessionAttributes(MarshalledValue<Map<String,Object>,MarshallingContext> attributes, SessionAttributeMarshaller<Map<String,Object>,MarshalledValue<Map<String,Object>,MarshallingContext>> marshaller, Mutator mutator)
public Object removeAttribute(String name)
SessionAttributesremoveAttribute in interface SessionAttributesname - a unique attribute namepublic Object setAttribute(String name, Object value)
SessionAttributessetAttribute in interface SessionAttributesname - a unique attribute namevalue - the attribute valuepublic Object getAttribute(String name)
ImmutableSessionAttributesgetAttribute in interface ImmutableSessionAttributesgetAttribute in class CoarseImmutableSessionAttributesname - a unique attribute nameCopyright © 2014 JBoss by Red Hat. All rights reserved.