com.ning.http.client
Class AsyncHttpClientConfigBean

java.lang.Object
  extended by com.ning.http.client.AsyncHttpClientConfig
      extended by com.ning.http.client.AsyncHttpClientConfigBean

public class AsyncHttpClientConfigBean
extends AsyncHttpClientConfig

Simple JavaBean version of AsyncHttpClientConfig


Nested Class Summary
 
Nested classes/interfaces inherited from class com.ning.http.client.AsyncHttpClientConfig
AsyncHttpClientConfig.Builder
 
Field Summary
 
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
 
Constructor Summary
AsyncHttpClientConfigBean()
           
 
Method Summary
 AsyncHttpClientConfigBean addIoExceptionFilters(IOExceptionFilter ioExceptionFilter)
           
 AsyncHttpClientConfigBean addRequestFilter(RequestFilter requestFilter)
           
 AsyncHttpClientConfigBean addResponseFilters(ResponseFilter responseFilter)
           
 AsyncHttpClientConfigBean setAllowPoolingConnection(boolean allowPoolingConnection)
           
 AsyncHttpClientConfigBean setAllowSslConnectionPool(boolean allowSslConnectionPool)
           
 AsyncHttpClientConfigBean setApplicationThreadPool(ExecutorService applicationThreadPool)
           
 AsyncHttpClientConfigBean setCompressionEnabled(boolean compressionEnabled)
           
 AsyncHttpClientConfigBean setConnectionsPool(ConnectionsPool<?,?> connectionsPool)
           
 AsyncHttpClientConfigBean setConnectionTimeOutInMs(int connectionTimeOutInMs)
           
 AsyncHttpClientConfigBean setHostnameVerifier(HostnameVerifier hostnameVerifier)
           
 AsyncHttpClientConfigBean setIdleConnectionInPoolTimeoutInMs(int idleConnectionInPoolTimeoutInMs)
           
 AsyncHttpClientConfigBean setIoThreadMultiplier(int ioThreadMultiplier)
           
 AsyncHttpClientConfigBean setMaxConnectionPerHost(int maxConnectionPerHost)
           
 AsyncHttpClientConfigBean setMaxDefaultRedirects(int maxDefaultRedirects)
           
 AsyncHttpClientConfigBean setMaxRequestRetry(int maxRequestRetry)
           
 AsyncHttpClientConfigBean setMaxTotalConnections(int maxTotalConnections)
           
 AsyncHttpClientConfigBean setProviderConfig(AsyncHttpProviderConfig<?,?> providerConfig)
           
 AsyncHttpClientConfigBean setProxyServer(ProxyServer proxyServer)
           
 AsyncHttpClientConfigBean setRealm(Realm realm)
           
 AsyncHttpClientConfigBean setReaper(ScheduledExecutorService reaper)
           
 AsyncHttpClientConfigBean setRedirectEnabled(boolean redirectEnabled)
           
 AsyncHttpClientConfigBean setRemoveQueryParamOnRedirect(boolean removeQueryParamOnRedirect)
           
 AsyncHttpClientConfigBean setRequestCompressionLevel(int requestCompressionLevel)
           
 AsyncHttpClientConfigBean setRequestTimeoutInMs(int requestTimeoutInMs)
           
 AsyncHttpClientConfigBean setSslContext(SSLContext sslContext)
           
 AsyncHttpClientConfigBean setSslEngineFactory(SSLEngineFactory sslEngineFactory)
           
 AsyncHttpClientConfigBean setUserAgent(String userAgent)
           
 AsyncHttpClientConfigBean setUseRawUrl(boolean 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
 

Constructor Detail

AsyncHttpClientConfigBean

public AsyncHttpClientConfigBean()
Method Detail

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.