@Title(value="HTTP") public enum HttpConf extends Enum<HttpConf>
| Enum Constant and Description |
|---|
POOL_MAX_ROUTE |
POOL_TIME_TO_LIVE |
POOL_TOTAL |
POOL_VALIDATE_AFTER_INACTIVITY |
TIMEOUT_CONNECT |
TIMEOUT_READ |
TIMEOUT_SOCKET |
| Modifier and Type | Method and Description |
|---|---|
static HttpConf |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpConf[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Path(value="oxalis.http.pool.total") @DefaultValue(value="20") public static final HttpConf POOL_TOTAL
@Path(value="oxalis.http.pool.max_route") @DefaultValue(value="2") public static final HttpConf POOL_MAX_ROUTE
@Path(value="oxalis.http.pool.validate_after_inactivity") @DefaultValue(value="1000") public static final HttpConf POOL_VALIDATE_AFTER_INACTIVITY
@Path(value="oxalis.http.pool.time_to_live") @DefaultValue(value="30") public static final HttpConf POOL_TIME_TO_LIVE
@Path(value="oxalis.http.timeout.connect") @DefaultValue(value="0") public static final HttpConf TIMEOUT_CONNECT
@Path(value="oxalis.http.timeout.read") @DefaultValue(value="0") public static final HttpConf TIMEOUT_READ
@Path(value="oxalis.http.timeout.socket") @DefaultValue(value="0") public static final HttpConf TIMEOUT_SOCKET
public static HttpConf[] values()
for (HttpConf c : HttpConf.values()) System.out.println(c);
public static HttpConf 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 © 2021 NorStella. All rights reserved.