Class HttpLoggingPolicy

  • All Implemented Interfaces:
    HttpPipelinePolicy

    public class HttpLoggingPolicy
    extends java.lang.Object
    implements HttpPipelinePolicy
    The pipeline policy that handles logging of HTTP requests and responses.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String RETRY_COUNT_CONTEXT
      Key for RequestContext to pass request retry count metadata for logging.
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpLoggingPolicy​(HttpLogOptions httpLogOptions)
      Creates an HttpLoggingPolicy with the given log configurations.