public class SessionConnectEvent extends AbstractSubProtocolEvent
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.
source| Constructor and Description |
|---|
SessionConnectEvent(Object source,
org.springframework.messaging.Message<byte[]> message)
Create a new SessionConnectEvent.
|
SessionConnectEvent(Object source,
org.springframework.messaging.Message<byte[]> message,
Principal user) |
getMessage, getUser, toStringgetSourcepublic SessionConnectEvent(Object source, org.springframework.messaging.Message<byte[]> message)
source - the component that published the event (never null)message - the connect message