| Package | Description |
|---|---|
| com.linecorp.armeria.client.retry |
A
Client decorator that handles failures and retries requests. |
| Modifier and Type | Method and Description |
|---|---|
RetryingHttpClient |
RetryingHttpClientBuilder.build(HttpClient delegate)
Returns a newly-created
RetryingHttpClient based on the properties of this builder. |
| Modifier and Type | Method and Description |
|---|---|
Function<? super HttpClient,RetryingHttpClient> |
RetryingHttpClientBuilder.newDecorator()
Returns a newly-created decorator that decorates an
HttpClient with a new
RetryingHttpClient based on the properties of this builder. |
static Function<? super HttpClient,RetryingHttpClient> |
RetryingHttpClient.newDecorator(RetryStrategy retryStrategy)
Creates a new
HttpClient decorator that handles failures of an invocation and retries HTTP
requests. |
static Function<? super HttpClient,RetryingHttpClient> |
RetryingHttpClient.newDecorator(RetryStrategy retryStrategy,
int maxTotalAttempts)
Creates a new
HttpClient decorator that handles failures of an invocation and retries HTTP
requests. |
static Function<? super HttpClient,RetryingHttpClient> |
RetryingHttpClient.newDecorator(RetryStrategy retryStrategy,
int maxTotalAttempts,
long responseTimeoutMillisForEachAttempt)
Creates a new
HttpClient decorator that handles failures of an invocation and retries HTTP
requests. |
Copyright © 2020 LeanCloud. All rights reserved.