com.ning.http.client
Class AsyncHttpClientConfigBean
java.lang.Object
com.ning.http.client.AsyncHttpClientConfig
com.ning.http.client.AsyncHttpClientConfigBean
public class AsyncHttpClientConfigBean
- extends AsyncHttpClientConfig
Simple JavaBean version of AsyncHttpClientConfig
Fields inherited from class com.ning.http.client.AsyncHttpClientConfig |
allowPoolingConnection, allowSslConnectionPool, applicationThreadPool, ASYNC_CLIENT, compressionEnabled, connectionsPool, connectionTimeOutInMs, hostnameVerifier, idleConnectionInPoolTimeoutInMs, ioExceptionFilters, ioThreadMultiplier, maxConnectionPerHost, maxDefaultRedirects, maxRequestRetry, maxTotalConnections, providerConfig, proxyServer, realm, reaper, redirectEnabled, removeQueryParamOnRedirect, requestCompressionLevel, requestFilters, requestTimeoutInMs, responseFilters, sslContext, sslEngineFactory, userAgent, useRawUrl |
Methods inherited from class com.ning.http.client.AsyncHttpClientConfig |
executorService, getAllowPoolingConnection, getAsyncHttpProviderConfig, getConnectionsPool, getConnectionTimeoutInMs, getHostnameVerifier, getIdleConnectionInPoolTimeoutInMs, getIdleConnectionTimeoutInMs, getIOExceptionFilters, getIoThreadMultiplier, getKeepAlive, getMaxConnectionPerHost, getMaxRedirects, getMaxRequestRetry, getMaxTotalConnections, getProxyServer, getRealm, getRequestCompressionLevel, getRequestFilters, getRequestTimeoutInMs, getResponseFilters, getSSLContext, getSSLEngineFactory, getUserAgent, isClosed, isCompressionEnabled, isRedirectEnabled, isRemoveQueryParamOnRedirect, isSslConnectionPoolEnabled, isUseRawUrl, reaper |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsyncHttpClientConfigBean
public AsyncHttpClientConfigBean()
setMaxTotalConnections
public AsyncHttpClientConfigBean setMaxTotalConnections(int maxTotalConnections)
setMaxConnectionPerHost
public AsyncHttpClientConfigBean setMaxConnectionPerHost(int maxConnectionPerHost)
setConnectionTimeOutInMs
public AsyncHttpClientConfigBean setConnectionTimeOutInMs(int connectionTimeOutInMs)
setIdleConnectionInPoolTimeoutInMs
public AsyncHttpClientConfigBean setIdleConnectionInPoolTimeoutInMs(int idleConnectionInPoolTimeoutInMs)
setRequestTimeoutInMs
public AsyncHttpClientConfigBean setRequestTimeoutInMs(int requestTimeoutInMs)
setRedirectEnabled
public AsyncHttpClientConfigBean setRedirectEnabled(boolean redirectEnabled)
setMaxDefaultRedirects
public AsyncHttpClientConfigBean setMaxDefaultRedirects(int maxDefaultRedirects)
setCompressionEnabled
public AsyncHttpClientConfigBean setCompressionEnabled(boolean compressionEnabled)
setUserAgent
public AsyncHttpClientConfigBean setUserAgent(String userAgent)
setAllowPoolingConnection
public AsyncHttpClientConfigBean setAllowPoolingConnection(boolean allowPoolingConnection)
setReaper
public AsyncHttpClientConfigBean setReaper(ScheduledExecutorService reaper)
setApplicationThreadPool
public AsyncHttpClientConfigBean setApplicationThreadPool(ExecutorService applicationThreadPool)
setProxyServer
public AsyncHttpClientConfigBean setProxyServer(ProxyServer proxyServer)
setSslContext
public AsyncHttpClientConfigBean setSslContext(SSLContext sslContext)
setSslEngineFactory
public AsyncHttpClientConfigBean setSslEngineFactory(SSLEngineFactory sslEngineFactory)
setProviderConfig
public AsyncHttpClientConfigBean setProviderConfig(AsyncHttpProviderConfig<?,?> providerConfig)
setConnectionsPool
public AsyncHttpClientConfigBean setConnectionsPool(ConnectionsPool<?,?> connectionsPool)
setRealm
public AsyncHttpClientConfigBean setRealm(Realm realm)
addRequestFilter
public AsyncHttpClientConfigBean addRequestFilter(RequestFilter requestFilter)
addResponseFilters
public AsyncHttpClientConfigBean addResponseFilters(ResponseFilter responseFilter)
addIoExceptionFilters
public AsyncHttpClientConfigBean addIoExceptionFilters(IOExceptionFilter ioExceptionFilter)
setRequestCompressionLevel
public AsyncHttpClientConfigBean setRequestCompressionLevel(int requestCompressionLevel)
setMaxRequestRetry
public AsyncHttpClientConfigBean setMaxRequestRetry(int maxRequestRetry)
setAllowSslConnectionPool
public AsyncHttpClientConfigBean setAllowSslConnectionPool(boolean allowSslConnectionPool)
setUseRawUrl
public AsyncHttpClientConfigBean setUseRawUrl(boolean useRawUrl)
setRemoveQueryParamOnRedirect
public AsyncHttpClientConfigBean setRemoveQueryParamOnRedirect(boolean removeQueryParamOnRedirect)
setHostnameVerifier
public AsyncHttpClientConfigBean setHostnameVerifier(HostnameVerifier hostnameVerifier)
setIoThreadMultiplier
public AsyncHttpClientConfigBean setIoThreadMultiplier(int ioThreadMultiplier)
Copyright © 2011. All Rights Reserved.