Package com.azure.core.http.policy
Class HttpRequestLoggingContext
- java.lang.Object
-
- com.azure.core.http.policy.HttpRequestLoggingContext
-
public final class HttpRequestLoggingContext extends Object
Options class containing information available during HTTP request logging.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Context
getContext()
Gets the contextual information about the HTTP request.HttpRequest
getHttpRequest()
Gets the HTTP request being sent.Integer
getTryCount()
Gets the try count for the HTTP request.
-
-
-
Method Detail
-
getHttpRequest
public HttpRequest getHttpRequest()
Gets the HTTP request being sent.- Returns:
- The HTTP request.
-
getContext
public Context getContext()
Gets the contextual information about the HTTP request.- Returns:
- The contextual information.
-
getTryCount
public Integer getTryCount()
Gets the try count for the HTTP request.- Returns:
- The HTTP request try count.
-
-