public enum ChainElements extends Enum<ChainElements>
| Enum Constant and Description |
|---|
BACK_OFF |
CACHING |
CONNECT |
MAIN_TRANSPORT |
PROTOCOL |
REDIRECT |
RETRY_IO_ERROR |
RETRY_SERVICE_UNAVAILABLE |
| Modifier and Type | Method and Description |
|---|---|
static ChainElements |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChainElements[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChainElements REDIRECT
public static final ChainElements BACK_OFF
public static final ChainElements RETRY_SERVICE_UNAVAILABLE
public static final ChainElements RETRY_IO_ERROR
public static final ChainElements CACHING
public static final ChainElements PROTOCOL
public static final ChainElements CONNECT
public static final ChainElements MAIN_TRANSPORT
public static ChainElements[] values()
for (ChainElements c : ChainElements.values()) System.out.println(c);
public static ChainElements 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 © 1999–2017 The Apache Software Foundation. All rights reserved.