public enum RequestParam extends Enum<RequestParam>
Enum Constant and Description |
---|
NO_RETRY
Do not retry request on failure
|
NO_TIMEOUT
Wait indefinitely for a response
|
NONE |
RETAIN_PAYLOAD
Save the raw payload for further inspection
|
Modifier and Type | Method and Description |
---|---|
static RequestParam |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestParam[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestParam NONE
public static final RequestParam NO_TIMEOUT
public static final RequestParam NO_RETRY
public static final RequestParam RETAIN_PAYLOAD
public static RequestParam[] values()
for (RequestParam c : RequestParam.values()) System.out.println(c);
public static RequestParam 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 © 2019. All rights reserved.