com.microsoft.azure.sdk.iot.service.transport.http
定义
类
HttpConnection |
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. |
HttpRequest | |
HttpResponse |
An HTTPS response. Contains the status code, body, header fields, and error reason (if any). |
接口
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. |
枚举
HttpMethod |
The HTTPS request method (i.e. GET). |