public class HttpLoggingPolicy extends Object implements HttpPipelinePolicy
| Modifier and Type | Field and Description |
|---|---|
static String |
RETRY_COUNT_CONTEXT
Key for
Context to pass request retry count metadata for logging. |
| Constructor and Description |
|---|
HttpLoggingPolicy(HttpLogOptions httpLogOptions)
Creates an HttpLoggingPolicy with the given log configurations.
|
| Modifier and Type | Method and Description |
|---|---|
Mono<HttpResponse> |
process(HttpPipelineCallContext context,
HttpPipelineNextPolicy next)
Process provided request context and invokes the next policy.
|
public static final String RETRY_COUNT_CONTEXT
Context to pass request retry count metadata for logging.public HttpLoggingPolicy(HttpLogOptions httpLogOptions)
httpLogOptions - The HTTP logging configuration options.public Mono<HttpResponse> process(HttpPipelineCallContext context, HttpPipelineNextPolicy next)
HttpPipelinePolicyprocess in interface HttpPipelinePolicycontext - request contextnext - The next policy to invoke.Copyright © 2020 Microsoft Corporation. All rights reserved.