Uses of Class
org.springframework.messaging.simp.SimpAttributes
Package
Description
Generic support for Simple Messaging Protocols including protocols such as STOMP.
-
Uses of SimpAttributes in org.springframework.messaging.simp
Modifier and TypeMethodDescriptionstatic SimpAttributes
SimpAttributesContextHolder.currentAttributes()
Return the SimpAttributes currently bound to the thread or raise anIllegalStateException
if none are bound.static SimpAttributes
SimpAttributes.fromMessage
(Message<?> message) Extract the SiMP session attributes from the given message and wrap them in aSimpAttributes
instance.static SimpAttributes
SimpAttributesContextHolder.getAttributes()
Return the SimpAttributes currently bound to the thread.Modifier and TypeMethodDescriptionstatic void
SimpAttributesContextHolder.setAttributes
(SimpAttributes attributes) Bind the given SimpAttributes to the current thread.