HttpRequestInfo Class
- java.
lang. Object - com.
microsoft. azure. management. monitor. HttpRequestInfo
- com.
public class HttpRequestInfo
The Http request info.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
clientIpAddress()
Get the client Ip Address. |
String |
clientRequestId()
Get the client request id. |
String |
method()
Get the Http request method. |
String |
uri()
Get the Uri. |
Http |
withClientIpAddress(String clientIpAddress)
Set the client Ip Address. |
Http |
withClientRequestId(String clientRequestId)
Set the client request id. |
Http |
withMethod(String method)
Set the Http request method. |
Http |
withUri(String uri)
Set the Uri. |
Method Details
clientIpAddress
public String clientIpAddress()
Get the client Ip Address.
Returns:
clientRequestId
public String clientRequestId()
Get the client request id.
Returns:
method
public String method()
Get the Http request method.
Returns:
uri
public String uri()
Get the Uri.
Returns:
withClientIpAddress
public HttpRequestInfo withClientIpAddress(String clientIpAddress)
Set the client Ip Address.
Parameters:
Returns:
withClientRequestId
public HttpRequestInfo withClientRequestId(String clientRequestId)
Set the client request id.
Parameters:
Returns:
withMethod
public HttpRequestInfo withMethod(String method)
Set the Http request method.
Parameters:
Returns:
withUri
public HttpRequestInfo withUri(String uri)
Set the Uri.
Parameters:
Returns:
Applies to
Azure SDK for Java