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 Details

    • 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.