Class SessionConnectEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.web.socket.messaging.AbstractSubProtocolEvent
org.springframework.web.socket.messaging.SessionConnectEvent
- All Implemented Interfaces:
- Serializable
Event raised when a new WebSocket client using a Simple Messaging Protocol
(for example, STOMP) as the WebSocket sub-protocol issues a connect request.
Note that this is not the same as the WebSocket session getting established but rather the client's first attempt to connect within the sub-protocol, for example sending the STOMP CONNECT frame.
- Since:
- 4.0.3
- Author:
- Rossen Stoyanchev
- See Also:
- 
Field SummaryFields inherited from class EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionSessionConnectEvent(Object source, Message<byte[]> message) Create a new SessionConnectEvent.SessionConnectEvent(Object source, Message<byte[]> message, @Nullable Principal user) 
- 
Method SummaryMethods inherited from class AbstractSubProtocolEventgetMessage, getUser, toStringMethods inherited from class ApplicationEventgetTimestampMethods inherited from class EventObjectgetSource
- 
Constructor Details- 
SessionConnectEvent
- 
SessionConnectEvent
 
-