public final class StatusCodeCondition extends Object implements RetryCondition
| Modifier and Type | Method and Description |
|---|---|
static StatusCodeCondition |
create(Integer... statusCodesToRetryOn) |
static StatusCodeCondition |
create(Set<Integer> statusCodesToRetryOn) |
boolean |
shouldRetry(RetryPolicyContext context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefaultRetryCondition, none, requestSucceeded, requestWillNotBeRetriedpublic boolean shouldRetry(RetryPolicyContext context)
shouldRetry in interface RetryConditionpublic static StatusCodeCondition create(Set<Integer> statusCodesToRetryOn)
public static StatusCodeCondition create(Integer... statusCodesToRetryOn)
Copyright © 2022. All rights reserved.