public final class IotHubRejectUri extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
REJECT_PATH_FORMAT
The path to be appended to an IoT Hub URI.
|
static Map<String,String> |
REJECT_QUERY_PARAM
The reject URI query parameter.
|
protected IotHubUri |
uri
The underlying IoT Hub URI.
|
| Modifier | Constructor and Description |
|---|---|
protected |
IotHubRejectUri() |
|
IotHubRejectUri(String iotHubHostname,
String deviceId,
String eTag)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHostname()
Returns the string representation of the IoT Hub hostname.
|
String |
getPath()
Returns the string representation of the IoT Hub path.
|
String |
toString()
Returns the string representation of the IoT Hub reject message URI.
|
public static final String REJECT_PATH_FORMAT
public static final Map<String,String> REJECT_QUERY_PARAM
protected final IotHubUri uri
public IotHubRejectUri(String iotHubHostname, String deviceId, String eTag)
iotHubHostname - the IoT Hub name.deviceId - the device ID.eTag - the message e-tag.protected IotHubRejectUri()
public String toString()
public String getHostname()
public String getPath()
Copyright © 2017. All rights reserved.