public final class RequestRetryPolicy extends Object implements 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<HttpResponse> |
process(HttpPipelineCallContext context,
HttpPipelineNextPolicy next) |
public RequestRetryPolicy(RequestRetryOptions requestRetryOptions)
requestRetryOptions - Retry options for the policy.public Mono<HttpResponse> process(HttpPipelineCallContext context, HttpPipelineNextPolicy next)
process in interface HttpPipelinePolicyCopyright © 2019 Microsoft Corporation. All rights reserved.