クラスの使用
org.springframework.messaging.simp.SimpAttributes
org.springframework.messaging.simp 内の SimpAttributes 使用
修飾子と型メソッド説明static SimpAttributes
SimpAttributesContextHolder.currentAttributes()
現在スレッドにバインドされている SimpAttributes を返すか、バインドされていない場合はIllegalStateException
SE を発生させます。static SimpAttributes
SimpAttributes.fromMessage
(Message<?> message) 指定されたメッセージから SiMP セッション属性を抽出し、SimpAttributes
インスタンスにラップします。static SimpAttributes
SimpAttributesContextHolder.getAttributes()
現在スレッドにバインドされている SimpAttributes を返します。修飾子と型メソッド説明static void
SimpAttributesContextHolder.setAttributes
(SimpAttributes attributes) 指定された SimpAttributes を現在のスレッドにバインドします。