public final class JdkConnectorProperties extends Object
JdkConnector
.Modifier and Type | Field and Description |
---|---|
static String |
CONNECTION_IDLE_TIMEOUT
An amount of time in milliseconds (
Integer value) during which an idle connection will be kept open. |
static String |
CONTAINER_IDLE_TIMEOUT
Container idle timeout in milliseconds (
Integer value). |
static String |
COOKIE_POLICY
To set the cookie policy of this cookie manager.
|
static int |
DEFAULT_CONNECTION_CLOSE_WAIT
Default value for the
CONTAINER_IDLE_TIMEOUT property. |
static int |
DEFAULT_CONNECTION_IDLE_TIMEOUT
Default value for the
CONNECTION_IDLE_TIMEOUT property. |
static CookiePolicy |
DEFAULT_COOKIE_POLICY
Default value for the
COOKIE_POLICY property. |
static int |
DEFAULT_HTTP_CHUNK_SIZE
Default value for the
ClientProperties.CHUNKED_ENCODING_SIZE property. |
static int |
DEFAULT_MAX_CONNECTIONS_PER_DESTINATION
Default value for the
MAX_CONNECTIONS_PER_DESTINATION property. |
static int |
DEFAULT_MAX_HEADER_SIZE
Default value for the
MAX_HEADER_SIZE property. |
static int |
DEFAULT_MAX_REDIRECTS
Default value for the
MAX_REDIRECTS property. |
static String |
MAX_CONNECTIONS_PER_DESTINATION
A maximum number of open connections per each destination.
|
static String |
MAX_HEADER_SIZE
A configurable property of HTTP parser.
|
static String |
MAX_REDIRECTS
The maximal number of redirects during single request.
|
static String |
WORKER_THREAD_POOL_CONFIG
Configuration of the connector thread pool.
|
public static final String WORKER_THREAD_POOL_CONFIG
ThreadPoolConfig
is expected.public static final String CONTAINER_IDLE_TIMEOUT
Integer
value).
When the timeout elapses, the shared thread pool will be destroyed.
The default value is 30000public static final String MAX_HEADER_SIZE
public static final String MAX_REDIRECTS
Integer
. Default value is 5.
HTTP redirection must be enabled by property ClientProperties.FOLLOW_REDIRECTS
,
otherwise MAX_REDIRECTS
is not applied.public static final String COOKIE_POLICY
CookiePolicy.ACCEPT_ORIGINAL_SERVER
.CookieManager
,
Constant Field Valuespublic static final String MAX_CONNECTIONS_PER_DESTINATION
public static final String CONNECTION_IDLE_TIMEOUT
Integer
value) during which an idle connection will be kept open.
The default value is 1000000public static final int DEFAULT_HTTP_CHUNK_SIZE
ClientProperties.CHUNKED_ENCODING_SIZE
property.public static final int DEFAULT_MAX_HEADER_SIZE
MAX_HEADER_SIZE
property.public static final int DEFAULT_MAX_REDIRECTS
MAX_REDIRECTS
property.public static final CookiePolicy DEFAULT_COOKIE_POLICY
COOKIE_POLICY
property.public static final int DEFAULT_MAX_CONNECTIONS_PER_DESTINATION
MAX_CONNECTIONS_PER_DESTINATION
property.public static final int DEFAULT_CONNECTION_IDLE_TIMEOUT
CONNECTION_IDLE_TIMEOUT
property.public static final int DEFAULT_CONNECTION_CLOSE_WAIT
CONTAINER_IDLE_TIMEOUT
property.Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.