| Package | Description |
|---|---|
| com.microsoft.azure.sdk.iot.service.devicetwin | |
| com.microsoft.azure.sdk.iot.service.transport.http |
| Modifier and Type | Method and Description |
|---|---|
static HttpResponse |
DeviceOperations.request(IotHubConnectionString iotHubConnectionString,
URL url,
HttpMethod method,
byte[] payload,
String requestId,
int connectTimeout,
int readTimeout,
Proxy proxy)
Send a http request to the IoTHub using the Twin/Method standard, and return its response.
|
static HttpResponse |
DeviceOperations.request(IotHubConnectionString iotHubConnectionString,
URL url,
HttpMethod method,
byte[] payload,
String requestId,
long timeoutInMs)
Deprecated.
|
static HttpResponse |
DeviceOperations.request(String credentialToken,
URL url,
HttpMethod method,
byte[] payload,
String requestId,
int connectTimeout,
int readTimeout,
Proxy proxy)
Send a http request to the IoTHub using the Twin/Method standard, and return its response.
|
QueryResponse |
Query.sendQueryRequest(IotHubConnectionString iotHubConnectionString,
URL url,
HttpMethod method,
int httpConnectTimeout,
int httpReadTimeout,
Proxy proxy)
Sends request for the query to the IotHub.
|
QueryResponse |
Query.sendQueryRequest(IotHubConnectionString iotHubConnectionString,
URL url,
HttpMethod method,
Long timeoutInMs)
Deprecated.
|
QueryResponse |
Query.sendQueryRequest(TokenCredentialCache credentialCache,
com.azure.core.credential.AzureSasCredential azureSasCredential,
IotHubConnectionString iotHubConnectionString,
URL url,
HttpMethod method,
int httpConnectTimeout,
int httpReadTimeout,
Proxy proxy)
Sends request for the query to the IotHub.
|
| Constructor and Description |
|---|
QueryCollection(int pageSize,
QueryType requestQueryType,
IotHubConnectionString iotHubConnectionString,
URL url,
HttpMethod httpMethod,
int httpConnectTimeout,
int httpReadTimeout,
Proxy proxy)
Constructor for non-sql based queries.
|
QueryCollection(int pageSize,
QueryType requestQueryType,
IotHubConnectionString iotHubConnectionString,
URL url,
HttpMethod httpMethod,
long timeout)
Deprecated.
|
QueryCollection(String query,
int pageSize,
QueryType requestQueryType,
IotHubConnectionString iotHubConnectionString,
URL url,
HttpMethod httpMethod,
int httpConnectTimeout,
int httpReadTimeout,
Proxy proxy)
Constructor for sql based queries
|
QueryCollection(String query,
int pageSize,
QueryType requestQueryType,
IotHubConnectionString iotHubConnectionString,
URL url,
HttpMethod httpMethod,
long timeout)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpMethod |
HttpMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethod[] |
HttpMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HttpConnection.setRequestMethod(HttpMethod method)
Sets the request method (i.e.
|
| Constructor and Description |
|---|
HttpConnection(URL url,
HttpMethod method)
Constructor.
|
HttpConnection(URL url,
HttpMethod method,
Proxy proxy)
Constructor.
|
HttpRequest(URL url,
HttpMethod method,
byte[] body)
Constructor.
|
HttpRequest(URL url,
HttpMethod method,
byte[] body,
Proxy proxy)
Constructor.
|
Copyright © 2022. All rights reserved.