public enum Option extends Enum<Option>
Enum Constant and Description |
---|
ASYNC_MONITOR |
ASYNCHTTPCLIENT |
CONNECTION_TIMEOUT |
DEFAULT_HEADERS |
HTTPCLIENT |
MAX_PER_ROUTE |
MAX_TOTAL |
OBJECT_MAPPER |
PROXY |
SOCKET_TIMEOUT |
SYNC_MONITOR |
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 final Option SYNC_MONITOR
public static final Option ASYNC_MONITOR
public static final Option MAX_TOTAL
public static final Option MAX_PER_ROUTE
public static final Option PROXY
public static final Option OBJECT_MAPPER
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 © 2016. All rights reserved.