Uses of Interface
com.azure.core.http.policy.HttpPipelinePolicy
-
Packages that use HttpPipelinePolicy Package Description com.azure.core.client.traits This package contains interfaces that represent common cross-cutting aspects of functionality offered by libraries in the Azure SDK for Java.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.com.azure.core.util.builder Package containing utilities for client builders. -
-
Uses of HttpPipelinePolicy in com.azure.core.client.traits
Methods in com.azure.core.client.traits with parameters of type HttpPipelinePolicy Modifier and Type Method Description THttpTrait. addPolicy(HttpPipelinePolicy pipelinePolicy)Adds apipeline policyto apply on each request sent. -
Uses of HttpPipelinePolicy in com.azure.core.http
Methods in com.azure.core.http that return HttpPipelinePolicy Modifier and Type Method Description HttpPipelinePolicyHttpPipeline. 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 HttpPipelineBuilderHttpPipelineBuilder. policies(HttpPipelinePolicy... policies)Addspoliciesto 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 classAddDatePolicyThe pipeline policy that adds a "Date" header in RFC 1123 format when sending an HTTP request.classAddHeadersFromContextPolicyThe pipeline policy that override or addHttpHeadersinHttpRequestby reading values fromContextwith key 'azure-http-headers-key'.classAddHeadersPolicyThe pipeline policy that adds a particular set of headers to HTTP requests.classAzureKeyCredentialPolicyPipeline policy that uses anAzureKeyCredentialto set the authorization key for a request.classAzureSasCredentialPolicyPipeline policy that uses anAzureSasCredentialto set the shared access signature for a request.classBearerTokenAuthenticationPolicyThe pipeline policy that applies a token credential to an HTTP request with "Bearer" scheme.classCookiePolicyThe pipeline policy that which stores cookies based on the response "Set-Cookie" header and adds cookies to requests.classHostPolicyThe pipeline policy that adds the given host to each HttpRequest.classHttpLoggingPolicyThe pipeline policy that handles logging of HTTP requests and responses.classPortPolicyThe pipeline policy that adds a given port to eachHttpRequest.classProtocolPolicyThe pipeline policy that adds a given protocol to each HttpRequest.classRedirectPolicyclassRequestIdPolicyThe pipeline policy that puts a UUID in the request header.classRetryPolicyA pipeline policy that retries when a recoverable HTTP error or exception occurs.classTimeoutPolicyThe pipeline policy that limits the time allowed between sending a request and receiving the response.classUserAgentPolicyPipeline policy that adds "User-Agent" header to a request.Methods in com.azure.core.http.policy that return HttpPipelinePolicy Modifier and Type Method Description HttpPipelinePolicyHttpPolicyProvider. create()Creates the policy.Method parameters in com.azure.core.http.policy with type arguments of type HttpPipelinePolicy Modifier and Type Method Description static voidHttpPolicyProviders. addAfterRetryPolicies(List<HttpPipelinePolicy> policies)Adds SPI policies that implementAfterRetryPolicyProvider.static voidHttpPolicyProviders. addBeforeRetryPolicies(List<HttpPipelinePolicy> policies)Adds SPI policies that implementBeforeRetryPolicyProvider. -
Uses of HttpPipelinePolicy in com.azure.core.util.builder
Methods in com.azure.core.util.builder that return HttpPipelinePolicy Modifier and Type Method Description static HttpPipelinePolicyClientBuilderUtil. validateAndGetRetryPolicy(HttpPipelinePolicy retryPolicy, RetryOptions retryOptions)This method validates that customizedretry policyand customizedRetryOptionsare mutually exclusive.static HttpPipelinePolicyClientBuilderUtil. validateAndGetRetryPolicy(HttpPipelinePolicy retryPolicy, RetryOptions retryOptions, HttpPipelinePolicy defaultPolicy)This method validates that customizedretry policyand customizedRetryOptionsare mutually exclusive.Methods in com.azure.core.util.builder with parameters of type HttpPipelinePolicy Modifier and Type Method Description static HttpPipelinePolicyClientBuilderUtil. validateAndGetRetryPolicy(HttpPipelinePolicy retryPolicy, RetryOptions retryOptions)This method validates that customizedretry policyand customizedRetryOptionsare mutually exclusive.static HttpPipelinePolicyClientBuilderUtil. validateAndGetRetryPolicy(HttpPipelinePolicy retryPolicy, RetryOptions retryOptions, HttpPipelinePolicy defaultPolicy)This method validates that customizedretry policyand customizedRetryOptionsare mutually exclusive.
-