public class RetryPredicates extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RetryPredicates.AnyExceptionStrategy
Returns true for any exception.
|
static class |
RetryPredicates.EmptyResponseResultStrategy
Returns true if the response is null or empty.
|
Modifier and Type | Field and Description |
---|---|
static java.util.function.Predicate<Throwable> |
ANY_EXCEPTION |
static RetryPredicates.EmptyResponseResultStrategy |
EMPTY_RESPONSE |
Constructor and Description |
---|
RetryPredicates() |
public static final RetryPredicates.EmptyResponseResultStrategy EMPTY_RESPONSE
public static final java.util.function.Predicate<Throwable> ANY_EXCEPTION
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.