public class PublishMessage extends PubSubMessage
Client-to-Server message
EMPTY_OBJECT| Constructor and Description |
|---|
PublishMessage(com.fasterxml.jackson.core.JsonParser jp) |
PublishMessage(com.fasterxml.jackson.core.JsonParser jp,
WampSession wampSession) |
PublishMessage(String topicURI,
Object event) |
PublishMessage(String topicURI,
Object event,
Boolean excludeMe) |
PublishMessage(String topicURI,
Object event,
Set<String> exclude) |
PublishMessage(String topicURI,
Object event,
Set<String> exclude,
Set<String> eligible) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getEligible() |
Object |
getEvent() |
Set<String> |
getExclude() |
Boolean |
getExcludeMe() |
Object |
getPayload() |
String |
toJson(com.fasterxml.jackson.core.JsonFactory jsonFactory) |
String |
toString() |
getDestination, getTopicURI, setTopicURIfromJson, fromJson, fromJson, getHeader, getHeaders, getPrincipal, getType, getWampSession, getWebSocketSessionId, replacePrefix, setDestinationTemplateVariables, setHeader, setWebSocketSessionIdpublic PublishMessage(String topicURI, Object event, Set<String> exclude, Set<String> eligible)
public PublishMessage(com.fasterxml.jackson.core.JsonParser jp)
throws IOException
IOExceptionpublic PublishMessage(com.fasterxml.jackson.core.JsonParser jp,
WampSession wampSession)
throws IOException
IOExceptionpublic Object getEvent()
public Object getPayload()
getPayload in interface org.springframework.messaging.Message<Object>getPayload in class WampMessagepublic Boolean getExcludeMe()
public String toJson(com.fasterxml.jackson.core.JsonFactory jsonFactory) throws IOException
toJson in class WampMessageIOExceptionCopyright © 2014–2017. All rights reserved.