Uses of Class
com.ning.http.client.AsyncHttpClientConfig.Builder

Packages that use AsyncHttpClientConfig.Builder
com.ning.http.client   
 

Uses of AsyncHttpClientConfig.Builder in com.ning.http.client
 

Methods in com.ning.http.client that return AsyncHttpClientConfig.Builder
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.addIOExceptionFilter(IOExceptionFilter ioExceptionFilter)
          Add an IOExceptionFilter that will be invoked when an IOException occurs during the download/upload operations.
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.addRequestFilter(RequestFilter requestFilter)
          Add an RequestFilter that will be invoked before AsyncHttpClient.executeRequest(Request)
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.addResponseFilter(ResponseFilter responseFilter)
          Add an ResponseFilter that will be invoked as soon as the response is received, and before AsyncHandler.onStatusReceived(HttpResponseStatus).
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.removeIOExceptionFilter(IOExceptionFilter ioExceptionFilter)
          Remove an IOExceptionFilter tthat will be invoked when an IOException occurs during the download/upload operations.
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.removeRequestFilter(RequestFilter requestFilter)
          Remove an RequestFilter that will be invoked before AsyncHttpClient.executeRequest(Request)
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.removeResponseFilter(ResponseFilter responseFilter)
          Remove an ResponseFilter that will be invoked as soon as the response is received, and before AsyncHandler.onStatusReceived(HttpResponseStatus).
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setAllowPoolingConnection(boolean allowPoolingConnection)
          Set true if connection can be pooled by a ConnectionsPool.
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setAllowSslConnectionPool(boolean allowSslConnectionPool)
          Return true is if connections pooling is enabled.
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setAsyncHttpClientProviderConfig(AsyncHttpProviderConfig<?,?> providerConfig)
          Set the AsyncHttpProviderConfig
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setCompressionEnabled(boolean compressionEnabled)
          Enable HTTP compression.
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setConnectionsPool(ConnectionsPool<?,?> connectionsPool)
          Set the ConnectionsPool
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setConnectionTimeoutInMs(int connectionTimeOutInMs)
          Set the maximum time in millisecond an AsyncHttpClient can wait when connecting to a remote host
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setExecutorService(ExecutorService applicationThreadPool)
          Set the ExecutorService an AsyncHttpClient use for handling asynchronous response.
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setFollowRedirects(boolean redirectEnabled)
          Set to true to enable HTTP redirect
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setHostnameVerifier(HostnameVerifier hostnameVerifier)
          Set the HostnameVerifier
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setIdleConnectionInPoolTimeoutInMs(int idleConnectionInPoolTimeoutInMs)
          Set the maximum time in millisecond an AsyncHttpClient will keep connection idle in pool.
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setIdleConnectionTimeoutInMs(int idleConnectionTimeoutInMs)
          Set the maximum time in millisecond an AsyncHttpClient can stay idle.
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setIOThreadMultiplier(int multiplier)
           
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setKeepAlive(boolean allowPoolingConnection)
          Deprecated. - Use setAllowPoolingConnection(boolean)
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setMaxConnectionLifeTimeInMs(int maxConnectionLifeTimeInMs)
          Set the maximum time in millisecond connection can be added to the pool for further reuse
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setMaximumConnectionsPerHost(int maxConnectionPerHost)
          Set the maximum number of connections per hosts an AsyncHttpClient can handle.
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setMaximumConnectionsTotal(int maxTotalConnections)
          Set the maximum number of connections an AsyncHttpClient can handle.
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setMaximumNumberOfRedirects(int maxDefaultRedirects)
          Set the maximum number of HTTP redirect
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setMaxRequestRetry(int maxRequestRetry)
          Set the number of time a request will be retried when an IOException occurs because of a Network exception.
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setProxyServer(ProxyServer proxyServer)
          Set an instance of ProxyServer used by an AsyncHttpClient
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setProxyServerSelector(ProxyServerSelector proxyServerSelector)
          Set an instance of ProxyServerSelector used by an AsyncHttpClient
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setRealm(Realm realm)
          Set the Realm that will be used for all requests.
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setRemoveQueryParamsOnRedirect(boolean removeQueryParamOnRedirect)
          Set to false if you don't want the query parameters removed when a redirect occurs.
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setRequestCompressionLevel(int requestCompressionLevel)
          Set the compression level, or -1 if no compression is used.
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setRequestTimeoutInMs(int requestTimeoutInMs)
          Set the maximum time in millisecond an AsyncHttpClient wait for a response
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setSSLContext(SSLContext sslContext)
          Set the SSLContext for secure connection.
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setSSLEngineFactory(SSLEngineFactory sslEngineFactory)
          Set the SSLEngineFactory for secure connection.
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setStrict302Handling(boolean strict302Handling)
          Configures this AHC instance to be strict in it's handling of 302 redirects in a POST/Redirect/GET situation.
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setTimeConverter(TimeConverter timeConverter)
           
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setUseProxyProperties(boolean useProxyProperties)
          Sets whether AHC should use the default http.proxy* system properties to obtain proxy information.
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setUseProxySelector(boolean useProxySelector)
          Sets whether AHC should use the default JDK ProxySelector to select a proxy server.
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setUserAgent(String userAgent)
          Set the USER_AGENT header value
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setUseRawUrl(boolean useRawUrl)
          Allows use unescaped URLs in requests useful for retrieving data from broken sites
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setUseRelativeURIsWithConnectProxies(boolean useRelativeURIsWithConnectProxies)
          Configures this AHC instance to use relative URIs instead of absolute ones when making requests through proxies using the CONNECT method, such as when making SSL requests or WebSocket requests.
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setUseRelativeURIsWithSSLProxies(boolean useRelativeURIsWithSSLProxies)
          Deprecated. Use setUseRelativeURIsWithConnectProxies instead.
 AsyncHttpClientConfig.Builder AsyncHttpClientConfig.Builder.setWebSocketIdleTimeoutInMs(int webSocketIdleTimeoutInMs)
          Set the maximum time in millisecond an WebSocket can stay idle.
 



Copyright © 2014. All Rights Reserved.