クラス 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()