public interface AsyncHttpClientConfig
| Modifier and Type | Interface and Description |
|---|---|
static interface |
AsyncHttpClientConfig.AdditionalChannelInitializer |
static class |
AsyncHttpClientConfig.ResponseBodyPartFactory |
String getAhcVersion()
String getThreadPoolName()
AsyncHttpClient, which is used for thread naming and debugging.int getMaxConnections()
AsyncHttpClient can handle.AsyncHttpClient can handle.int getMaxConnectionsPerHost()
AsyncHttpClient can handle.AsyncHttpClient can handle.int getConnectTimeout()
AsyncHttpClient can wait when connecting to a remote hostAsyncHttpClient can wait when connecting to a remote hostint getReadTimeout()
AsyncHttpClient can stay idle.AsyncHttpClient can stay idle.int getPooledConnectionIdleTimeout()
AsyncHttpClient will keep connection in pool.AsyncHttpClient will keep connection in pool.int getConnectionPoolCleanerPeriod()
int getRequestTimeout()
AsyncHttpClient waits until the response is completed.AsyncHttpClient waits until the response is completed.boolean isFollowRedirect()
int getMaxRedirects()
boolean isKeepAlive()
ChannelPool support enabled.String getUserAgent()
boolean isCompressionEnforced()
ThreadFactory getThreadFactory()
ThreadFactory an AsyncHttpClient use for handling asynchronous response.ThreadFactory an AsyncHttpClient use for handling asynchronous response. If no ThreadFactory has been explicitly
provided, this method will return nullProxyServerSelector getProxyServerSelector()
ProxyServer used by an AsyncHttpClientProxyServerio.netty.handler.ssl.SslContext getSslContext()
SslContext used for SSL connection.SslContext used for SSL connection.List<RequestFilter> getRequestFilters()
RequestFilterResponseFilterList<ResponseFilter> getResponseFilters()
ResponseFilterResponseFilterList<IOExceptionFilter> getIoExceptionFilters()
IOExceptionIOExceptionint getMaxRequestRetry()
IOException is throw by the remote serverIOException is throw by the remote serverboolean isDisableUrlEncodingForBoundRequests()
boolean isStrict302Handling()
true if strict 302 handling is to be used, otherwise false.int getConnectionTtl()
AsyncHttpClient will keep connection in the pool, or -1 to keep connection while possible.AsyncHttpClient will keep connection in the pool, or -1 to keep connection while possible.boolean isUseOpenSsl()
boolean isAcceptAnyCertificate()
String[] getEnabledProtocols()
String[] getEnabledCipherSuites()
int getSslSessionCacheSize()
int getSslSessionTimeout()
int getHttpClientCodecMaxInitialLineLength()
int getHttpClientCodecMaxHeaderSize()
int getHttpClientCodecMaxChunkSize()
boolean isDisableZeroCopy()
int getHandshakeTimeout()
SslEngineFactory getSslEngineFactory()
int getChunkedFileChunkSize()
int getWebSocketMaxBufferSize()
int getWebSocketMaxFrameSize()
boolean isKeepEncodingHeader()
int getShutdownQuietPeriod()
int getShutdownTimeout()
Map<ChannelOption<Object>,Object> getChannelOptions()
EventLoopGroup getEventLoopGroup()
boolean isUseNativeTransport()
AsyncHttpClientConfig.AdditionalChannelInitializer getHttpAdditionalChannelInitializer()
AsyncHttpClientConfig.AdditionalChannelInitializer getWsAdditionalChannelInitializer()
AsyncHttpClientConfig.ResponseBodyPartFactory getResponseBodyPartFactory()
ChannelPool getChannelPool()
Timer getNettyTimer()
KeepAliveStrategy getKeepAliveStrategy()
boolean isValidateResponseHeaders()
boolean isTcpNoDelay()
boolean isSoReuseAddress()
int getSoLinger()
int getSoSndBuf()
int getSoRcvBuf()
io.netty.buffer.ByteBufAllocator getAllocator()
int getIoThreadsCount()
Copyright © 2017. All Rights Reserved.