クラス SessionConnectEvent
java.lang.ObjectSE
java.util.EventObjectSE
org.springframework.context.ApplicationEvent
org.springframework.session.web.socket.events.SessionConnectEvent
- 実装されたすべてのインターフェース:
SerializableSE
public class SessionConnectEvent
extends org.springframework.context.ApplicationEvent
Spring
SessionConnectEvent
に似ていますが、WebSocketSession
へのアクセスを提供して Spring Session を WebSocketSession
にマッピングできるようにする点が異なります。フィールドサマリー
クラス java.util.EventObjectSE から継承されたフィールド
sourceSE
コンストラクターのサマリー
コンストラクターコンストラクター説明SessionConnectEvent
(ObjectSE source, org.springframework.web.socket.WebSocketSession webSocketSession) メソッドのサマリー
クラス org.springframework.context.ApplicationEvent から継承されたメソッド
getTimestamp
クラス java.util.EventObjectSE から継承されたメソッド
getSource, toString
コンストラクターの詳細
SessionConnectEvent
public SessionConnectEvent(ObjectSE source, org.springframework.web.socket.WebSocketSession webSocketSession)
メソッドの詳細
getWebSocketSession
public org.springframework.web.socket.WebSocketSession getWebSocketSession()