Uses of Class
org.springframework.messaging.simp.SimpAttributes
Packages that use SimpAttributes
Package
Description
Generic support for Simple Messaging Protocols including protocols such as STOMP.
-
Uses of SimpAttributes in org.springframework.messaging.simp
Methods in org.springframework.messaging.simp that return SimpAttributesModifier 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 @Nullable SimpAttributes
SimpAttributesContextHolder.getAttributes()
Return the SimpAttributes currently bound to the thread.Methods in org.springframework.messaging.simp with parameters of type SimpAttributesModifier and TypeMethodDescriptionstatic void
SimpAttributesContextHolder.setAttributes
(@Nullable SimpAttributes attributes) Bind the given SimpAttributes to the current thread.