public interface CredentialsEndpointRetryPolicy
| 限定符和类型 | 字段和说明 |
|---|---|
static CredentialsEndpointRetryPolicy |
NO_RETRY_POLICY |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
shouldRetry(int attemptedRetries,
CredentialsEndpointRetryParameters retryParameters)
Checks whether a failed request should be retried;
|
static final CredentialsEndpointRetryPolicy NO_RETRY_POLICY
boolean shouldRetry(int attemptedRetries,
CredentialsEndpointRetryParameters retryParameters)
attemptedRetries - The number of times the current request has been attempted.retryParameters - the requested error code and exception are wrapped in the retryParametersCopyright © 2022. All rights reserved.