Package io.vantiq.client
Class SubscriptionMessage
java.lang.Object
io.vantiq.client.SubscriptionMessage
This class represents a single subscription messages from Vantiq
-
Constructor Details
-
SubscriptionMessage
public SubscriptionMessage()
-
-
Method Details
-
getStatus
public int getStatus()The HTTP status code for this message. Usually, this is 100.- Returns:
- The status code for the message
-
getContentType
The content type for the body of the message. Usually, this is application/json indicating the content was JSON encoded.- Returns:
- The MIME type for the message body
-
getHeaders
The headers associated with the message.- Returns:
- The headers for the message.
-
getBody
Returns the payload for the message. For a JSON encoded message, this would be a Map.- Returns:
- The body of the message.
-
toString
-