| Package | Description |
|---|---|
| com.azure.core.http |
Package containing the HTTP abstractions between the AnnotationParser, RestProxy and HTTP client.
|
| com.azure.core.http.policy |
Package containing HttpPipelinePolicy interface and it's implementations.
|
| Modifier and Type | Method and Description |
|---|---|
HttpPipelinePolicy |
HttpPipeline.getPolicy(int index)
Get the policy at the passed index in the pipeline.
|
| Modifier and Type | Method and Description |
|---|---|
HttpPipelineBuilder |
HttpPipelineBuilder.policies(HttpPipelinePolicy... policies)
Adds
policies to the set of policies that the pipeline will use
when sending requests. |
| Modifier and Type | Class and Description |
|---|---|
class |
AddDatePolicy
The Pipeline policy that adds Date header in RFC 1123 format when sending an HTTP request.
|
class |
AddHeadersPolicy
The Pipeline policy that adds a particular set of headers to HTTP requests.
|
class |
BearerTokenAuthenticationPolicy
The Pipeline policy that applies a token credential to an HTTP request
with "Bearer" scheme.
|
class |
CookiePolicy
The Pipeline policy that which stores cookies based on the response Set-Cookie header and adds cookies to requests.
|
class |
HostPolicy
The Pipeline policy that adds the given host to each HttpRequest.
|
class |
HttpLoggingPolicy
The Pipeline policy that handles logging of HTTP requests and responses.
|
class |
PortPolicy
The Pipeline policy that adds a given port to each HttpRequest.
|
class |
ProtocolPolicy
The Pipeline policy that adds a given protocol to each HttpRequest.
|
class |
ProxyAuthenticationPolicy
The Pipeline policy that adds basic proxy authentication to outgoing HTTP requests.
|
class |
RequestIdPolicy
The Pipeline policy that puts a UUID in the request header.
|
class |
RetryPolicy
A pipeline policy that retries when a recoverable HTTP error occurs.
|
class |
TimeoutPolicy
The Pipeline policy that limits the time allowed between sending a request
and receiving the response.
|
class |
UserAgentPolicy
Pipeline policy that adds 'User-Agent' header to a request.
|
Copyright © 2019 Microsoft Corporation. All rights reserved.