public static enum DXHTTPRequest.RetryStrategy extends Enum<DXHTTPRequest.RetryStrategy>
See the API wrappers common documentation for the retry logic specification.
Enum Constant and Description |
---|
SAFE_TO_RETRY
The request is idempotent and is safe to retry.
|
UNSAFE_TO_RETRY
The request has non-idempotent side effects and is generally not safe to retry if the
outcome of a previous request is unknown.
|
Modifier and Type | Method and Description |
---|---|
static DXHTTPRequest.RetryStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DXHTTPRequest.RetryStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DXHTTPRequest.RetryStrategy UNSAFE_TO_RETRY
public static final DXHTTPRequest.RetryStrategy SAFE_TO_RETRY
public static DXHTTPRequest.RetryStrategy[] values()
for (DXHTTPRequest.RetryStrategy c : DXHTTPRequest.RetryStrategy.values()) System.out.println(c);
public static DXHTTPRequest.RetryStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023. All Rights Reserved.