public enum Option extends Enum<Option>
| Enum Constant and Description |
|---|
ASYNCHTTPCLIENT |
CONNECTION_TIMEOUT |
DEFAULT_HEADERS |
HTTPCLIENT |
SOCKET_TIMEOUT |
| Modifier and Type | Method and Description |
|---|---|
static Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Option HTTPCLIENT
public static final Option ASYNCHTTPCLIENT
public static final Option CONNECTION_TIMEOUT
public static final Option SOCKET_TIMEOUT
public static final Option DEFAULT_HEADERS
public static Option[] values()
for (Option c : Option.values()) System.out.println(c);
public static Option 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 © 2013. All rights reserved.