Uses of Interface
com.azure.core.http.policy.HttpPipelinePolicy
-
Packages that use HttpPipelinePolicy Package Description com.azure.core.http Package containing HTTP abstractions between the AnnotationParser, RestProxy, and HTTP client.com.azure.core.http.policy Package containing HttpPipelinePolicy interface and its implementations. -
-
Uses of HttpPipelinePolicy in com.azure.core.http
Methods in com.azure.core.http that return HttpPipelinePolicy Modifier and Type Method Description HttpPipelinePolicy
HttpPipeline. getPolicy(int index)
Get the policy at the passed index in the pipeline.Methods in com.azure.core.http with parameters of type HttpPipelinePolicy Modifier and Type Method Description HttpPipelineBuilder
HttpPipelineBuilder. policies(HttpPipelinePolicy... policies)
Addspolicies
to the set of policies that the pipeline will use when sending requests. -
Uses of HttpPipelinePolicy in com.azure.core.http.policy
Classes in com.azure.core.http.policy that implement HttpPipelinePolicy Modifier and Type Class Description class
AddDatePolicy
The pipeline policy that adds a "Date" header in RFC 1123 format when sending an HTTP request.class
AddHeadersFromContextPolicy
The pipeline policy that override or addHttpHeaders
inHttpRequest
by reading values fromContext
with key 'azure-http-headers-key'.class
AddHeadersPolicy
The pipeline policy that adds a particular set of headers to HTTP requests.class
AzureKeyCredentialPolicy
Pipeline policy that uses anAzureKeyCredential
to set the authorization key for a request.class
AzureSasCredentialPolicy
Pipeline policy that uses anAzureSasCredential
to set the shared access signature for a request.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 eachHttpRequest
.class
ProtocolPolicy
The pipeline policy that adds a given protocol to each HttpRequest.class
RedirectPolicy
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 or exception 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.Methods in com.azure.core.http.policy that return HttpPipelinePolicy Modifier and Type Method Description HttpPipelinePolicy
HttpPolicyProvider. create()
Creates the policy.Method parameters in com.azure.core.http.policy with type arguments of type HttpPipelinePolicy Modifier and Type Method Description static void
HttpPolicyProviders. addAfterRetryPolicies(List<HttpPipelinePolicy> policies)
Adds SPI policies that implementAfterRetryPolicyProvider
.static void
HttpPolicyProviders. addBeforeRetryPolicies(List<HttpPipelinePolicy> policies)
Adds SPI policies that implementBeforeRetryPolicyProvider
.
-