Uses of Class
com.ning.http.client.SimpleAsyncHttpClient.Builder
Packages that use SimpleAsyncHttpClient.Builder
-
Uses of SimpleAsyncHttpClient.Builder in com.ning.http.client
Methods in com.ning.http.client that return SimpleAsyncHttpClient.BuilderModifier and TypeMethodDescriptionSimpleAsyncHttpClient.Builder.addBodyPart(Part part) SimpleAsyncHttpClient.Builder.addFormParam(String key, String value) SimpleAsyncHttpClient.Builder.addQueryParam(String name, String value) SimpleAsyncHttpClient.Builder.setAcceptAnyCertificate(boolean acceptAnyCertificate) SimpleAsyncHttpClient.Builder.setAllowPoolingConnections(boolean allowPoolingConnections) SimpleAsyncHttpClient.Builder.setCompressionEnforced(boolean compressionEnabled) SimpleAsyncHttpClient.Builder.setConnectTimeout(int connectTimeout) SimpleAsyncHttpClient.Builder.setDefaultThrowableHandler(ThrowableHandler throwableHandler) SimpleAsyncHttpClient.Builder.setErrorDocumentBehaviour(SimpleAsyncHttpClient.ErrorDocumentBehaviour behaviour) This setting controls whether an error document should be written via theBodyConsumerafter an error status code was received (e.g.SimpleAsyncHttpClient.Builder.setExecutorService(ExecutorService applicationThreadPool) SimpleAsyncHttpClient.Builder.setFollowRedirects(boolean followRedirects) SimpleAsyncHttpClient.Builder.setFormParams(List<Param> params) SimpleAsyncHttpClient.Builder.setFormParams(Map<String, List<String>> params) SimpleAsyncHttpClient.Builder.setHeaders(FluentCaseInsensitiveStringsMap headers) SimpleAsyncHttpClient.Builder.setHeaders(Map<String, Collection<String>> headers) SimpleAsyncHttpClient.Builder.setListener(SimpleAHCTransferListener listener) Set the listener to notify about connection progress.SimpleAsyncHttpClient.Builder.setMaximumConnectionsPerHost(int defaultMaxConnectionPerHost) SimpleAsyncHttpClient.Builder.setMaximumConnectionsTotal(int defaultMaxTotalConnections) SimpleAsyncHttpClient.Builder.setMaximumNumberOfRedirects(int maxDefaultRedirects) SimpleAsyncHttpClient.Builder.setMaxRequestRetry(int maxRequestRetry) Set the number of time a request will be retried when anIOExceptionoccurs because of a Network exception.SimpleAsyncHttpClient.Builder.setPooledConnectionIdleTimeout(int pooledConnectionIdleTimeout) SimpleAsyncHttpClient.Builder.setProviderClass(String providerClass) SimpleAsyncHttpClient.Builder.setProxyHost(String host) SimpleAsyncHttpClient.Builder.setProxyPassword(String password) SimpleAsyncHttpClient.Builder.setProxyPort(int port) SimpleAsyncHttpClient.Builder.setProxyPrincipal(String principal) SimpleAsyncHttpClient.Builder.setProxyProtocol(ProxyServer.Protocol protocol) SimpleAsyncHttpClient.Builder.setRealmCharset(Charset charset) SimpleAsyncHttpClient.Builder.setRealmName(String realmName) SimpleAsyncHttpClient.Builder.setRealmNtlmDomain(String ntlmDomain) SimpleAsyncHttpClient.Builder.setRealmPassword(String password) SimpleAsyncHttpClient.Builder.setRealmPrincipal(String principal) SimpleAsyncHttpClient.Builder.setRealmScheme(Realm.AuthScheme scheme) SimpleAsyncHttpClient.Builder.setRealmUsePreemptiveAuth(boolean usePreemptiveAuth) SimpleAsyncHttpClient.Builder.setRequestTimeout(int defaultRequestTimeout) SimpleAsyncHttpClient.Builder.setResumableDownload(boolean enableResumableDownload) Enable resumable downloads for the SimpleAHC.SimpleAsyncHttpClient.Builder.setSSLContext(SSLContext sslContext) SimpleAsyncHttpClient.Builder.setUserAgent(String userAgent) SimpleAsyncHttpClient.Builder.setVirtualHost(String virtualHost)