public class UnsubscribeMessage extends PubSubMessage
Client-to-Server message
EMPTY_OBJECT| Constructor and Description |
|---|
UnsubscribeMessage(com.fasterxml.jackson.core.JsonParser jp) |
UnsubscribeMessage(com.fasterxml.jackson.core.JsonParser jp,
WampSession wampSession) |
UnsubscribeMessage(String topicURI) |
| Modifier and Type | Method and Description |
|---|---|
static UnsubscribeMessage |
createCleanupMessage(org.springframework.web.socket.WebSocketSession session)
Creates an internal unsubscribe message.
|
boolean |
isCleanup() |
String |
toJson(com.fasterxml.jackson.core.JsonFactory jsonFactory) |
String |
toString() |
getDestination, getTopicURI, setTopicURIfromJson, fromJson, fromJson, getHeader, getHeaders, getPayload, getPrincipal, getType, getWampSession, getWebSocketSessionId, replacePrefix, setDestinationTemplateVariables, setHeader, setWebSocketSessionIdpublic UnsubscribeMessage(String topicURI)
public UnsubscribeMessage(com.fasterxml.jackson.core.JsonParser jp)
throws IOException
IOExceptionpublic UnsubscribeMessage(com.fasterxml.jackson.core.JsonParser jp,
WampSession wampSession)
throws IOException
IOExceptionpublic static UnsubscribeMessage createCleanupMessage(org.springframework.web.socket.WebSocketSession session)
sessionId - the WebSocket session idpublic boolean isCleanup()
public String toJson(com.fasterxml.jackson.core.JsonFactory jsonFactory) throws IOException
toJson in class WampMessageIOExceptionCopyright © 2014–2017. All rights reserved.