com.microsoft.azure.sdk.iot.device.transport.https

HTTPS IoT Hub transport and communication classes.

Classes

HttpsConnection

A wrapper for the Java SE class HttpsURLConnection. Used to avoid compatibility issues when testing with the mocking framework JMockit, as well as to avoid some undocumented side effects when using HttpsURLConnection.

The underlying HttpsURLConnection is transparently managed by Java. To reuse connections, for each time connect() is called, the input streams (input stream or error stream, if input stream is not accessible) must be completely read. Otherwise, the data remains in the stream and the connection will not be reusable.

HttpsIotHubConnection

An HTTPS connection between a device and an IoT Hub. Contains functionality for synchronously connecting to the different IoT Hub resource URIs.

HttpsRequest

An HTTPS request.

HttpsResponse

An HTTPS response. Contains the status code, body, header fields, and error reason (if any).

HttpsTransportManager

Implementation of the transport manager for https.

IotHubUri

A URI for a device to connect to an IoT Hub.

Interfaces

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.

Enums

HttpsMethod

The HTTPS request method (i.e. GET).