Top Description Constructors Methods
org.springframework.web.socket.messaging

public Class SessionConnectedEvent

extends AbstractSubProtocolEvent
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
java.security.Principal, org.springframework.lang.Nullable, org.springframework.messaging.Message

A connected event represents the server response to a client's connect request. See org.springframework.web.socket.messaging.SessionConnectEvent.
Author
Rossen Stoyanchev
Since
4.0.3

Constructor Summary

AccessConstructor and Description
public
SessionConnectedEvent(Object
the component that published the event (never null)
source
,
Message<byte[]>
the connected message (never null)
message
)

Create a new SessionConnectedEvent.

public
SessionConnectedEvent(Object source, Message<byte[]> message, Principal user)

Method Summary

Inherited from org.springframework.web.socket.messaging.AbstractSubProtocolEvent:
getMessagegetUsertoString

Constructor Detail

SessionConnectedEventback to summary
public SessionConnectedEvent(Object source, Message<byte[]> message)

Create a new SessionConnectedEvent.

Parameters
source:Object

the component that published the event (never null)

message:Message<byte[]>

the connected message (never null)

SessionConnectedEventback to summary
public SessionConnectedEvent(Object source, Message<byte[]> message, Principal user)