Class SessionConnectEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.session.web.socket.events.SessionConnectEvent
All Implemented Interfaces:
Serializable

public class SessionConnectEvent extends org.springframework.context.ApplicationEvent
Similar to Spring SessionConnectEvent except that it provides access to the WebSocketSession to allow mapping the Spring Session to the WebSocketSession.
Since:
1.0
See Also:
  • Constructor Details

    • SessionConnectEvent

      public SessionConnectEvent(Object source, org.springframework.web.socket.WebSocketSession webSocketSession)
  • Method Details

    • getWebSocketSession

      public org.springframework.web.socket.WebSocketSession getWebSocketSession()