Package org.asynchttpclient.config
Class AsyncHttpClientConfigDefaults
- java.lang.Object
-
- org.asynchttpclient.config.AsyncHttpClientConfigDefaults
-
public final class AsyncHttpClientConfigDefaults extends Object
-
-
Field Summary
-
Method Summary
-
-
-
Field Detail
-
ASYNC_CLIENT_CONFIG_ROOT
public static final String ASYNC_CLIENT_CONFIG_ROOT
- See Also:
- Constant Field Values
-
THREAD_POOL_NAME_CONFIG
public static final String THREAD_POOL_NAME_CONFIG
- See Also:
- Constant Field Values
-
MAX_CONNECTIONS_CONFIG
public static final String MAX_CONNECTIONS_CONFIG
- See Also:
- Constant Field Values
-
MAX_CONNECTIONS_PER_HOST_CONFIG
public static final String MAX_CONNECTIONS_PER_HOST_CONFIG
- See Also:
- Constant Field Values
-
ACQUIRE_FREE_CHANNEL_TIMEOUT
public static final String ACQUIRE_FREE_CHANNEL_TIMEOUT
- See Also:
- Constant Field Values
-
CONNECTION_TIMEOUT_CONFIG
public static final String CONNECTION_TIMEOUT_CONFIG
- See Also:
- Constant Field Values
-
POOLED_CONNECTION_IDLE_TIMEOUT_CONFIG
public static final String POOLED_CONNECTION_IDLE_TIMEOUT_CONFIG
- See Also:
- Constant Field Values
-
CONNECTION_POOL_CLEANER_PERIOD_CONFIG
public static final String CONNECTION_POOL_CLEANER_PERIOD_CONFIG
- See Also:
- Constant Field Values
-
READ_TIMEOUT_CONFIG
public static final String READ_TIMEOUT_CONFIG
- See Also:
- Constant Field Values
-
REQUEST_TIMEOUT_CONFIG
public static final String REQUEST_TIMEOUT_CONFIG
- See Also:
- Constant Field Values
-
CONNECTION_TTL_CONFIG
public static final String CONNECTION_TTL_CONFIG
- See Also:
- Constant Field Values
-
FOLLOW_REDIRECT_CONFIG
public static final String FOLLOW_REDIRECT_CONFIG
- See Also:
- Constant Field Values
-
MAX_REDIRECTS_CONFIG
public static final String MAX_REDIRECTS_CONFIG
- See Also:
- Constant Field Values
-
COMPRESSION_ENFORCED_CONFIG
public static final String COMPRESSION_ENFORCED_CONFIG
- See Also:
- Constant Field Values
-
USER_AGENT_CONFIG
public static final String USER_AGENT_CONFIG
- See Also:
- Constant Field Values
-
ENABLED_PROTOCOLS_CONFIG
public static final String ENABLED_PROTOCOLS_CONFIG
- See Also:
- Constant Field Values
-
ENABLED_CIPHER_SUITES_CONFIG
public static final String ENABLED_CIPHER_SUITES_CONFIG
- See Also:
- Constant Field Values
-
FILTER_INSECURE_CIPHER_SUITES_CONFIG
public static final String FILTER_INSECURE_CIPHER_SUITES_CONFIG
- See Also:
- Constant Field Values
-
USE_PROXY_SELECTOR_CONFIG
public static final String USE_PROXY_SELECTOR_CONFIG
- See Also:
- Constant Field Values
-
USE_PROXY_PROPERTIES_CONFIG
public static final String USE_PROXY_PROPERTIES_CONFIG
- See Also:
- Constant Field Values
-
VALIDATE_RESPONSE_HEADERS_CONFIG
public static final String VALIDATE_RESPONSE_HEADERS_CONFIG
- See Also:
- Constant Field Values
-
AGGREGATE_WEBSOCKET_FRAME_FRAGMENTS_CONFIG
public static final String AGGREGATE_WEBSOCKET_FRAME_FRAGMENTS_CONFIG
- See Also:
- Constant Field Values
-
ENABLE_WEBSOCKET_COMPRESSION_CONFIG
public static final String ENABLE_WEBSOCKET_COMPRESSION_CONFIG
- See Also:
- Constant Field Values
-
STRICT_302_HANDLING_CONFIG
public static final String STRICT_302_HANDLING_CONFIG
- See Also:
- Constant Field Values
-
KEEP_ALIVE_CONFIG
public static final String KEEP_ALIVE_CONFIG
- See Also:
- Constant Field Values
-
MAX_REQUEST_RETRY_CONFIG
public static final String MAX_REQUEST_RETRY_CONFIG
- See Also:
- Constant Field Values
-
DISABLE_URL_ENCODING_FOR_BOUND_REQUESTS_CONFIG
public static final String DISABLE_URL_ENCODING_FOR_BOUND_REQUESTS_CONFIG
- See Also:
- Constant Field Values
-
USE_LAX_COOKIE_ENCODER_CONFIG
public static final String USE_LAX_COOKIE_ENCODER_CONFIG
- See Also:
- Constant Field Values
-
USE_OPEN_SSL_CONFIG
public static final String USE_OPEN_SSL_CONFIG
- See Also:
- Constant Field Values
-
USE_INSECURE_TRUST_MANAGER_CONFIG
public static final String USE_INSECURE_TRUST_MANAGER_CONFIG
- See Also:
- Constant Field Values
-
DISABLE_HTTPS_ENDPOINT_IDENTIFICATION_ALGORITHM_CONFIG
public static final String DISABLE_HTTPS_ENDPOINT_IDENTIFICATION_ALGORITHM_CONFIG
- See Also:
- Constant Field Values
-
SSL_SESSION_CACHE_SIZE_CONFIG
public static final String SSL_SESSION_CACHE_SIZE_CONFIG
- See Also:
- Constant Field Values
-
SSL_SESSION_TIMEOUT_CONFIG
public static final String SSL_SESSION_TIMEOUT_CONFIG
- See Also:
- Constant Field Values
-
TCP_NO_DELAY_CONFIG
public static final String TCP_NO_DELAY_CONFIG
- See Also:
- Constant Field Values
-
SO_REUSE_ADDRESS_CONFIG
public static final String SO_REUSE_ADDRESS_CONFIG
- See Also:
- Constant Field Values
-
SO_KEEP_ALIVE_CONFIG
public static final String SO_KEEP_ALIVE_CONFIG
- See Also:
- Constant Field Values
-
SO_LINGER_CONFIG
public static final String SO_LINGER_CONFIG
- See Also:
- Constant Field Values
-
SO_SND_BUF_CONFIG
public static final String SO_SND_BUF_CONFIG
- See Also:
- Constant Field Values
-
SO_RCV_BUF_CONFIG
public static final String SO_RCV_BUF_CONFIG
- See Also:
- Constant Field Values
-
HTTP_CLIENT_CODEC_MAX_INITIAL_LINE_LENGTH_CONFIG
public static final String HTTP_CLIENT_CODEC_MAX_INITIAL_LINE_LENGTH_CONFIG
- See Also:
- Constant Field Values
-
HTTP_CLIENT_CODEC_MAX_HEADER_SIZE_CONFIG
public static final String HTTP_CLIENT_CODEC_MAX_HEADER_SIZE_CONFIG
- See Also:
- Constant Field Values
-
HTTP_CLIENT_CODEC_MAX_CHUNK_SIZE_CONFIG
public static final String HTTP_CLIENT_CODEC_MAX_CHUNK_SIZE_CONFIG
- See Also:
- Constant Field Values
-
HTTP_CLIENT_CODEC_INITIAL_BUFFER_SIZE_CONFIG
public static final String HTTP_CLIENT_CODEC_INITIAL_BUFFER_SIZE_CONFIG
- See Also:
- Constant Field Values
-
DISABLE_ZERO_COPY_CONFIG
public static final String DISABLE_ZERO_COPY_CONFIG
- See Also:
- Constant Field Values
-
HANDSHAKE_TIMEOUT_CONFIG
public static final String HANDSHAKE_TIMEOUT_CONFIG
- See Also:
- Constant Field Values
-
CHUNKED_FILE_CHUNK_SIZE_CONFIG
public static final String CHUNKED_FILE_CHUNK_SIZE_CONFIG
- See Also:
- Constant Field Values
-
WEBSOCKET_MAX_BUFFER_SIZE_CONFIG
public static final String WEBSOCKET_MAX_BUFFER_SIZE_CONFIG
- See Also:
- Constant Field Values
-
WEBSOCKET_MAX_FRAME_SIZE_CONFIG
public static final String WEBSOCKET_MAX_FRAME_SIZE_CONFIG
- See Also:
- Constant Field Values
-
KEEP_ENCODING_HEADER_CONFIG
public static final String KEEP_ENCODING_HEADER_CONFIG
- See Also:
- Constant Field Values
-
SHUTDOWN_QUIET_PERIOD_CONFIG
public static final String SHUTDOWN_QUIET_PERIOD_CONFIG
- See Also:
- Constant Field Values
-
SHUTDOWN_TIMEOUT_CONFIG
public static final String SHUTDOWN_TIMEOUT_CONFIG
- See Also:
- Constant Field Values
-
USE_NATIVE_TRANSPORT_CONFIG
public static final String USE_NATIVE_TRANSPORT_CONFIG
- See Also:
- Constant Field Values
-
USE_ONLY_EPOLL_NATIVE_TRANSPORT
public static final String USE_ONLY_EPOLL_NATIVE_TRANSPORT
- See Also:
- Constant Field Values
-
IO_THREADS_COUNT_CONFIG
public static final String IO_THREADS_COUNT_CONFIG
- See Also:
- Constant Field Values
-
HASHED_WHEEL_TIMER_TICK_DURATION
public static final String HASHED_WHEEL_TIMER_TICK_DURATION
- See Also:
- Constant Field Values
-
HASHED_WHEEL_TIMER_SIZE
public static final String HASHED_WHEEL_TIMER_SIZE
- See Also:
- Constant Field Values
-
EXPIRED_COOKIE_EVICTION_DELAY
public static final String EXPIRED_COOKIE_EVICTION_DELAY
- See Also:
- Constant Field Values
-
AHC_VERSION
public static final String AHC_VERSION
-
-
Method Detail
-
defaultThreadPoolName
public static String defaultThreadPoolName()
-
defaultMaxConnections
public static int defaultMaxConnections()
-
defaultMaxConnectionsPerHost
public static int defaultMaxConnectionsPerHost()
-
defaultAcquireFreeChannelTimeout
public static int defaultAcquireFreeChannelTimeout()
-
defaultConnectTimeout
public static int defaultConnectTimeout()
-
defaultPooledConnectionIdleTimeout
public static int defaultPooledConnectionIdleTimeout()
-
defaultConnectionPoolCleanerPeriod
public static int defaultConnectionPoolCleanerPeriod()
-
defaultReadTimeout
public static int defaultReadTimeout()
-
defaultRequestTimeout
public static int defaultRequestTimeout()
-
defaultConnectionTtl
public static int defaultConnectionTtl()
-
defaultFollowRedirect
public static boolean defaultFollowRedirect()
-
defaultMaxRedirects
public static int defaultMaxRedirects()
-
defaultCompressionEnforced
public static boolean defaultCompressionEnforced()
-
defaultUserAgent
public static String defaultUserAgent()
-
defaultEnabledProtocols
public static String[] defaultEnabledProtocols()
-
defaultEnabledCipherSuites
public static String[] defaultEnabledCipherSuites()
-
defaultFilterInsecureCipherSuites
public static boolean defaultFilterInsecureCipherSuites()
-
defaultUseProxySelector
public static boolean defaultUseProxySelector()
-
defaultUseProxyProperties
public static boolean defaultUseProxyProperties()
-
defaultValidateResponseHeaders
public static boolean defaultValidateResponseHeaders()
-
defaultAggregateWebSocketFrameFragments
public static boolean defaultAggregateWebSocketFrameFragments()
-
defaultEnableWebSocketCompression
public static boolean defaultEnableWebSocketCompression()
-
defaultStrict302Handling
public static boolean defaultStrict302Handling()
-
defaultKeepAlive
public static boolean defaultKeepAlive()
-
defaultMaxRequestRetry
public static int defaultMaxRequestRetry()
-
defaultDisableUrlEncodingForBoundRequests
public static boolean defaultDisableUrlEncodingForBoundRequests()
-
defaultUseLaxCookieEncoder
public static boolean defaultUseLaxCookieEncoder()
-
defaultUseOpenSsl
public static boolean defaultUseOpenSsl()
-
defaultUseInsecureTrustManager
public static boolean defaultUseInsecureTrustManager()
-
defaultDisableHttpsEndpointIdentificationAlgorithm
public static boolean defaultDisableHttpsEndpointIdentificationAlgorithm()
-
defaultSslSessionCacheSize
public static int defaultSslSessionCacheSize()
-
defaultSslSessionTimeout
public static int defaultSslSessionTimeout()
-
defaultTcpNoDelay
public static boolean defaultTcpNoDelay()
-
defaultSoReuseAddress
public static boolean defaultSoReuseAddress()
-
defaultSoKeepAlive
public static boolean defaultSoKeepAlive()
-
defaultSoLinger
public static int defaultSoLinger()
-
defaultSoSndBuf
public static int defaultSoSndBuf()
-
defaultSoRcvBuf
public static int defaultSoRcvBuf()
-
defaultHttpClientCodecMaxInitialLineLength
public static int defaultHttpClientCodecMaxInitialLineLength()
-
defaultHttpClientCodecMaxHeaderSize
public static int defaultHttpClientCodecMaxHeaderSize()
-
defaultHttpClientCodecMaxChunkSize
public static int defaultHttpClientCodecMaxChunkSize()
-
defaultHttpClientCodecInitialBufferSize
public static int defaultHttpClientCodecInitialBufferSize()
-
defaultDisableZeroCopy
public static boolean defaultDisableZeroCopy()
-
defaultHandshakeTimeout
public static int defaultHandshakeTimeout()
-
defaultChunkedFileChunkSize
public static int defaultChunkedFileChunkSize()
-
defaultWebSocketMaxBufferSize
public static int defaultWebSocketMaxBufferSize()
-
defaultWebSocketMaxFrameSize
public static int defaultWebSocketMaxFrameSize()
-
defaultKeepEncodingHeader
public static boolean defaultKeepEncodingHeader()
-
defaultShutdownQuietPeriod
public static int defaultShutdownQuietPeriod()
-
defaultShutdownTimeout
public static int defaultShutdownTimeout()
-
defaultUseNativeTransport
public static boolean defaultUseNativeTransport()
-
defaultUseOnlyEpollNativeTransport
public static boolean defaultUseOnlyEpollNativeTransport()
-
defaultIoThreadsCount
public static int defaultIoThreadsCount()
-
defaultHashedWheelTimerTickDuration
public static int defaultHashedWheelTimerTickDuration()
-
defaultHashedWheelTimerSize
public static int defaultHashedWheelTimerSize()
-
defaultExpiredCookieEvictionDelay
public static int defaultExpiredCookieEvictionDelay()
-
-