クラス WebSocketRegistryListener

java.lang.ObjectSE
org.springframework.session.web.socket.handler.WebSocketRegistryListener
実装されたすべてのインターフェース:
EventListenerSEorg.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>

public final class WebSocketRegistryListener extends ObjectSE implements org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>

Spring Session ID を WebSocketSession にマッピングし、SessionDestroyedEvent が起動されたときに WebSocketSession が閉じていることを確認します。

導入:
1.0
  • コンストラクターの詳細

    • WebSocketRegistryListener

      public WebSocketRegistryListener()
  • メソッドの詳細

    • onApplicationEvent

      public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
      次で指定:
      インターフェース org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>onApplicationEvent