Class SessionSubscribeEvent
- java.lang.Object
- java.util.EventObject
- org.springframework.context.ApplicationEvent
- org.springframework.web.socket.messaging.AbstractSubProtocolEvent
- org.springframework.web.socket.messaging.SessionSubscribeEvent
- All Implemented Interfaces:
Serializable
public class SessionSubscribeEvent extends AbstractSubProtocolEvent
Event raised when a new WebSocket client using a Simple Messaging Protocol (e.g. STOMP) sends a subscription request.- Since:
- 4.0.3
- Author:
- Rossen Stoyanchev
- See Also:
- Serialized Form
Field Summary
Fields inherited from class java.util.EventObject
source
Constructor Summary
Constructors Constructor Description SessionSubscribeEvent(Object source, Message<byte[]> message)
SessionSubscribeEvent(Object source, Message<byte[]> message, Principal user)
Method Summary
Methods inherited from class org.springframework.web.socket.messaging.AbstractSubProtocolEvent
getMessage, getUser, toString
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource
Constructor Detail
SessionSubscribeEvent
public SessionSubscribeEvent(Object source, Message<byte[]> message)
SessionSubscribeEvent
public SessionSubscribeEvent(Object source, Message<byte[]> message, Principal user)