public final class RequestRetryPolicy extends Object implements com.azure.core.http.policy.HttpPipelinePolicy
HttpPipeline for retrying a given HTTP request. The
request that is retried will be identical each time it is reissued. Retries will try against a secondary if one is
specified and the type of operation/error indicates that the secondary can handle the request. Exponential and fixed
backoff are supported. The policy must only be used directly when creating a custom pipeline.| Constructor and Description |
|---|
RequestRetryPolicy(RequestRetryOptions requestRetryOptions)
Constructs the policy using the retry options.
|
| Modifier and Type | Method and Description |
|---|---|
Mono<com.azure.core.http.HttpResponse> |
process(com.azure.core.http.HttpPipelineCallContext context,
com.azure.core.http.HttpPipelineNextPolicy next) |
public RequestRetryPolicy(RequestRetryOptions requestRetryOptions)
requestRetryOptions - Retry options for the policy.public Mono<com.azure.core.http.HttpResponse> process(com.azure.core.http.HttpPipelineCallContext context, com.azure.core.http.HttpPipelineNextPolicy next)
process in interface com.azure.core.http.policy.HttpPipelinePolicyCopyright © 2020 Microsoft Corporation. All rights reserved.