SimpAttributes object.
| Modifier and Type | Field and Description |
|---|---|
| private static final ThreadLocal |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static SimpAttributes | Returns: the attributes, nevernullReturn the SimpAttributes currently bound to the thread or raise an
|
| public static SimpAttributes | Returns: the attributes ornull if not boundReturn the SimpAttributes currently bound to the thread. |
| public static void | |
| public static void | setAttributes(SimpAttributes
the RequestAttributes to expose attributes)Bind the given SimpAttributes to the current thread. |
| public static void | setAttributesFromMessage(Message<?>
the message to extract session attributes from message)Extract the SiMP session attributes from the given message, wrap them in
a |
| attributesHolder | back to summary |
|---|---|
| private static final ThreadLocal<SimpAttributes> attributesHolder | |
| SimpAttributesContextHolder | back to summary |
|---|---|
| public SimpAttributesContextHolder() | |
| currentAttributes | back to summary |
|---|---|
| public static SimpAttributes currentAttributes() throws IllegalStateException Return the SimpAttributes currently bound to the thread or raise an
| |
| getAttributes | back to summary |
|---|---|
| public static SimpAttributes getAttributes() Return the SimpAttributes currently bound to the thread.
| |
| resetAttributes | back to summary |
|---|---|
| public static void resetAttributes() Reset the SimpAttributes for the current thread. | |
| setAttributes | back to summary |
|---|---|
| public static void setAttributes(SimpAttributes attributes) Bind the given SimpAttributes to the current thread.
| |
| setAttributesFromMessage | back to summary |
|---|---|
| public static void setAttributesFromMessage(Message<?> message) Extract the SiMP session attributes from the given message, wrap them in
a
| |