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:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionSessionConnectEvent(Object source, org.springframework.web.socket.WebSocketSession webSocketSession) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.socket.WebSocketSessionMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
SessionConnectEvent
public SessionConnectEvent(Object source, org.springframework.web.socket.WebSocketSession webSocketSession)
-
-
Method Details
-
getWebSocketSession
public org.springframework.web.socket.WebSocketSession getWebSocketSession()
-