Package ch.rasc.wamp2spring.message
Class AbortMessage
java.lang.Object
ch.rasc.wamp2spring.message.WampMessage
ch.rasc.wamp2spring.message.AbortMessage
- All Implemented Interfaces:
org.springframework.messaging.Message<Object>
Message sent from the Router and the Client when they want to abort the opening of a
WAMP session.
[ABORT, Details|dict, Reason|uri]
-
Constructor Summary
ConstructorsConstructorDescriptionAbortMessage(WampError reason) AbortMessage(WampError reason, String message) -
Method Summary
Modifier and TypeMethodDescriptionstatic AbortMessagedeserialize(com.fasterxml.jackson.core.JsonParser jp) Reason for the abort in human readable formReturn an URI describing the abort reason.voidserialize(com.fasterxml.jackson.core.JsonGenerator generator) toString()Methods inherited from class ch.rasc.wamp2spring.message.WampMessage
deserialize, getCode, getHeader, getHeaders, getPayload, getPrincipal, getWampSessionId, getWebSocketSessionId, setHeader, setReceiver, setReceiverWebSocketSessionId
-
Constructor Details
-
AbortMessage
-
AbortMessage
-
-
Method Details
-
deserialize
- Throws:
IOException
-
serialize
- Specified by:
serializein classWampMessage- Throws:
IOException
-
getMessage
Reason for the abort in human readable form -
getReason
Return an URI describing the abort reason. -
toString
-