Class JdkConnectorProperties
java.lang.Object
org.glassfish.jersey.jdk.connector.JdkConnectorProperties
Configuration options specific to
JdkConnector.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAn amount of time in milliseconds (Integervalue) during which an idle connection will be kept open.static final StringContainer idle timeout in milliseconds (Integervalue).static final StringTo set the cookie policy of this cookie manager.static final intDefault value for theCONTAINER_IDLE_TIMEOUTproperty.static final intDefault value for theCONNECTION_IDLE_TIMEOUTproperty.static final CookiePolicyDefault value for theCOOKIE_POLICYproperty.static final intDefault value for theClientProperties.CHUNKED_ENCODING_SIZEproperty.static final intDefault value for theMAX_CONNECTIONS_PER_DESTINATIONproperty.static final intDefault value for theMAX_HEADER_SIZEproperty.static final intDefault value for theMAX_REDIRECTSproperty.static final StringA maximal number of open connection to each destination.static final StringA configurable property of HTTP parser.static final StringThe maximal number of redirects during single request.static final StringConfiguration of the connector thread pool. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
WORKER_THREAD_POOL_CONFIG
Configuration of the connector thread pool. An instance ofThreadPoolConfigis expected.- See Also:
-
CONTAINER_IDLE_TIMEOUT
-
MAX_HEADER_SIZE
-
MAX_REDIRECTS
The maximal number of redirects during single request. Value is expected to be positiveInteger. Default value is 5. HTTP redirection must be enabled by propertyClientProperties.FOLLOW_REDIRECTS, otherwiseMAX_HEADER_SIZEis not applied.- See Also:
-
COOKIE_POLICY
To set the cookie policy of this cookie manager. The default value is ACCEPT_ORIGINAL_SERVER.- See Also:
-
MAX_CONNECTIONS_PER_DESTINATION
-
CONNECTION_IDLE_TIMEOUT
-
DEFAULT_HTTP_CHUNK_SIZE
public static final int DEFAULT_HTTP_CHUNK_SIZEDefault value for theClientProperties.CHUNKED_ENCODING_SIZEproperty.- See Also:
-
DEFAULT_MAX_HEADER_SIZE
public static final int DEFAULT_MAX_HEADER_SIZEDefault value for theMAX_HEADER_SIZEproperty.- See Also:
-
DEFAULT_MAX_REDIRECTS
public static final int DEFAULT_MAX_REDIRECTSDefault value for theMAX_REDIRECTSproperty.- See Also:
-
DEFAULT_COOKIE_POLICY
Default value for theCOOKIE_POLICYproperty. -
DEFAULT_MAX_CONNECTIONS_PER_DESTINATION
public static final int DEFAULT_MAX_CONNECTIONS_PER_DESTINATIONDefault value for theMAX_CONNECTIONS_PER_DESTINATIONproperty.- See Also:
-
DEFAULT_CONNECTION_IDLE_TIMEOUT
public static final int DEFAULT_CONNECTION_IDLE_TIMEOUTDefault value for theCONNECTION_IDLE_TIMEOUTproperty.- See Also:
-
DEFAULT_CONNECTION_CLOSE_WAIT
public static final int DEFAULT_CONNECTION_CLOSE_WAITDefault value for theCONTAINER_IDLE_TIMEOUTproperty.- See Also:
-
-
Constructor Details
-
JdkConnectorProperties
private JdkConnectorProperties()Prevents instantiation.
-
-
Method Details
-
getValue
-
getValue
-