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 SimpAttributesSimpAttributesContextHolder.currentAttributes()Return the SimpAttributes currently bound to the thread or raise anIllegalStateExceptionif none are bound.static SimpAttributesSimpAttributes.fromMessage(Message<?> message) Extract the SiMP session attributes from the given message and wrap them in aSimpAttributesinstance.static @Nullable SimpAttributesSimpAttributesContextHolder.getAttributes()Return the SimpAttributes currently bound to the thread.Methods in org.springframework.messaging.simp with parameters of type SimpAttributesModifier and TypeMethodDescriptionstatic voidSimpAttributesContextHolder.setAttributes(@Nullable SimpAttributes attributes) Bind the given SimpAttributes to the current thread.