public abstract class AbstractSubProtocolEvent extends ApplicationEvent
source
Modifier | Constructor and Description |
---|---|
protected |
AbstractSubProtocolEvent(Object source,
Message<byte[]> message)
Create a new AbstractSubProtocolEvent.
|
Modifier and Type | Method and Description |
---|---|
Message<byte[]> |
getMessage()
Return the Message associated with the event.
|
String |
toString() |
getTimestamp
getSource
public Message<byte[]> getMessage()
StompHeaderAccessor headers = StompHeaderAccessor.wrap(message); headers.getSessionId(); headers.getSessionAttributes(); headers.getPrincipal();
public String toString()
toString
in class EventObject