public final class HttpRequestInfo extends Object
| Constructor and Description |
|---|
HttpRequestInfo() |
| Modifier and Type | Method and Description |
|---|---|
String |
clientIpAddress()
Get the clientIpAddress property: the client Ip Address.
|
String |
clientRequestId()
Get the clientRequestId property: the client request id.
|
String |
method()
Get the method property: the Http request method.
|
String |
uri()
Get the uri property: the Uri.
|
void |
validate()
Validates the instance.
|
HttpRequestInfo |
withClientIpAddress(String clientIpAddress)
Set the clientIpAddress property: the client Ip Address.
|
HttpRequestInfo |
withClientRequestId(String clientRequestId)
Set the clientRequestId property: the client request id.
|
HttpRequestInfo |
withMethod(String method)
Set the method property: the Http request method.
|
HttpRequestInfo |
withUri(String uri)
Set the uri property: the Uri.
|
public String clientRequestId()
public HttpRequestInfo withClientRequestId(String clientRequestId)
clientRequestId - the clientRequestId value to set.public String clientIpAddress()
public HttpRequestInfo withClientIpAddress(String clientIpAddress)
clientIpAddress - the clientIpAddress value to set.public String method()
public HttpRequestInfo withMethod(String method)
method - the method value to set.public String uri()
public HttpRequestInfo withUri(String uri)
uri - the uri value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.