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 |
---|---|
byte [] |
getBody()
Gets the message body. |
String |
getContentType()
Gets the content type string. |
Method Details
getBody
public byte [] getBody()
Gets the message body.
Returns:
The message body.
getContentType
public String getContentType()
Gets the content type string.
Returns:
The message content-type.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java