| Package | Description |
|---|---|
| com.microsoft.rest.v2.http |
This package contains the HTTP abstractions between the AnnotationParser's RestProxy and whatever
HTTP client we choose to use.
|
| com.microsoft.rest.v2.policy |
Code related to creating proxy implementations of interfaces that have been generated from
Swagger specifications.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractHttpPipelineLogger
An abstract Logger for HttpPipeline RequestPolicies that contains functionality that is
common to Loggers.
|
class |
Slf4jLogger
An adapter that delegates logging to an slf4j Logger.
|
class |
SystemOutLogger
A HttpPipeline RequestPolicy logger that logs to the StdOut/System.out stream.
|
| Modifier and Type | Method and Description |
|---|---|
HttpPipelineOptions |
HttpPipelineOptions.withLogger(HttpPipelineLogger logger)
Configure the Logger that will be used for each RequestPolicy within the created
HttpPipeline.
|
HttpPipelineBuilder |
HttpPipelineBuilder.withLogger(HttpPipelineLogger logger)
Set the Logger that will be used for each RequestPolicy within the created HttpPipeline.
|
| Constructor and Description |
|---|
RequestPolicyOptions(HttpPipelineLogger logger)
Create a new RequestPolicy.Options object.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/