HttpsMessage Interface
public interface HttpsMessage
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.
Field Summary
Modifier and Type | Field and Description |
---|---|
String |
HTTPS_APP_PROPERTY_PREFIX
The prefix to be added to an HTTPS application-defined property. |
String |
HTTPS_SYSTEM_PROPERTY_PREFIX
The prefix to be added to an HTTPS system-defined property. |
Method Summary
Modifier and Type | Method and Description |
---|---|
byte [] |
getBody()
Gets the message body. |
String |
getContentType()
Gets the message content type. |
Message |
getProperties()
Gets the collection of message properties. |
Map<String, String> |
getSystemProperties()
Gets the collection of system message properties. |
Field Details
HTTPS_APP_PROPERTY_PREFIX
public String HTTPS_APP_PROPERTY_PREFIX= "iothub-app-"
The prefix to be added to an HTTPS application-defined property.
HTTPS_SYSTEM_PROPERTY_PREFIX
public String HTTPS_SYSTEM_PROPERTY_PREFIX= "iothub-"
The prefix to be added to an HTTPS system-defined property.
Method Details
getBody
public byte [] getBody()
Gets the message body.
Returns:
getContentType
public String getContentType()
Gets the message content type.
Returns:
getProperties
public MessageProperty [] getProperties()
Gets the collection of message properties.
Returns:
getSystemProperties
public Map
Gets the collection of system message properties.
Returns:
Applies to
Azure SDK for Java