HttpMessage Interface
public interface HttpMessage
An HTTPS message. An HTTPS message is distinguished from a plain IoT Hub message by its property names, which are prefixed with 'iothub-app-'; and by the explicit specification of a content-type.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract byte[] |
getBody()
Gets the message body. |
| abstract java.lang.String |
getContentType()
Gets the content type string. |
Method Details
getBody
public abstract byte[] getBody()
Gets the message body.
Returns:
getContentType
public abstract String getContentType()
Gets the content type string.
Returns: