| 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.
|
| Modifier and Type | Method and Description |
|---|---|
HttpPipelineOptions |
HttpPipelineOptions.withHttpClient(HttpClient httpClient)
Configure the HttpClient that will be used for the created HttpPipeline.
|
HttpPipelineOptions |
HttpPipelineOptions.withLogger(HttpPipelineLogger logger)
Configure the Logger that will be used for each RequestPolicy within the created
HttpPipeline.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpPipeline |
HttpPipeline.build(HttpPipelineOptions pipelineOptions,
Iterable<RequestPolicyFactory> requestPolicyFactories)
Build a new HttpPipeline that will use the provided HttpClient and RequestPolicy factories.
|
static HttpPipeline |
HttpPipeline.build(HttpPipelineOptions pipelineOptions,
RequestPolicyFactory... requestPolicyFactories)
Build a new HttpPipeline that will use the provided HttpClient and RequestPolicy factories.
|
| Constructor and Description |
|---|
HttpPipelineBuilder(HttpPipelineOptions options)
Create a new HttpPipeline builder.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/