public enum ChainElement extends Enum<ChainElement>
Enum Constant and Description |
---|
BACK_OFF |
CACHING |
CONNECT |
MAIN_TRANSPORT |
PROTOCOL |
REDIRECT |
RETRY |
Modifier and Type | Method and Description |
---|---|
static ChainElement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChainElement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChainElement BACK_OFF
public static final ChainElement CACHING
public static final ChainElement CONNECT
public static final ChainElement MAIN_TRANSPORT
public static final ChainElement PROTOCOL
public static final ChainElement REDIRECT
public static final ChainElement RETRY
public static ChainElement 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 nullpublic static ChainElement[] values()
for (ChainElement c : ChainElement.values()) System.out.println(c);