Package | Description |
---|---|
org.apache.http.impl.nio.client |
Default asynchronous HTTP client implementation.
|
Modifier and Type | Method and Description |
---|---|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.addInterceptorFirst(HttpRequestInterceptor itcp)
Adds this protocol interceptor to the head of the protocol processing list.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.addInterceptorFirst(HttpResponseInterceptor itcp)
Adds this protocol interceptor to the head of the protocol processing list.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.addInterceptorLast(HttpRequestInterceptor itcp)
Adds this protocol interceptor to the tail of the protocol processing list.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.addInterceptorLast(HttpResponseInterceptor itcp)
Adds this protocol interceptor to the tail of the protocol processing list.
|
static HttpAsyncClientBuilder |
HttpAsyncClientBuilder.create() |
static HttpAsyncClientBuilder |
HttpAsyncClients.custom()
Creates builder object for construction of custom
CloseableHttpAsyncClient instances. |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.disableAuthCaching()
Disables authentication scheme caching.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.disableConnectionState()
Disables connection state tracking.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.disableCookieManagement()
Disables state (cookie) management.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setConnectionManager(NHttpClientConnectionManager connManager)
Assigns
NHttpClientConnectionManager instance. |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setConnectionManagerShared(boolean shared)
Defines the connection manager is to be shared by multiple
client instances.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setConnectionReuseStrategy(ConnectionReuseStrategy reuseStrategy)
Assigns
ConnectionReuseStrategy instance. |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setDefaultAuthSchemeRegistry(Lookup<AuthSchemeProvider> authSchemeRegistry)
Assigns default
AuthScheme registry which will
be used for request execution if not explicitly set in the client execution
context. |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setDefaultConnectionConfig(ConnectionConfig config)
Assigns default
ConnectionConfig . |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setDefaultCookieSpecRegistry(Lookup<CookieSpecProvider> cookieSpecRegistry)
Assigns default
CookieSpec registry which will
be used for request execution if not explicitly set in the client execution
context. |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setDefaultCookieStore(CookieStore cookieStore)
Assigns default
CookieStore instance which will be used for
request execution if not explicitly set in the client execution context. |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setDefaultCredentialsProvider(CredentialsProvider credentialsProvider)
Assigns default
CredentialsProvider instance which will be used
for request execution if not explicitly set in the client execution
context. |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setDefaultHeaders(Collection<? extends Header> defaultHeaders)
Assigns default request header values.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setDefaultIOReactorConfig(org.apache.http.impl.nio.reactor.IOReactorConfig config)
Assigns default
IOReactorConfig . |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setDefaultRequestConfig(RequestConfig config)
Assigns default
RequestConfig instance which will be used
for request execution if not explicitly set in the client execution
context. |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setEventHandler(org.apache.http.nio.NHttpClientEventHandler eventHandler)
Assigns
NHttpClientEventHandler instance. |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setHostnameVerifier(X509HostnameVerifier hostnameVerifier)
Deprecated.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setHttpProcessor(HttpProcessor httpprocessor)
Assigns
HttpProcessor instance. |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setKeepAliveStrategy(ConnectionKeepAliveStrategy keepAliveStrategy)
Assigns
ConnectionKeepAliveStrategy instance. |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setMaxConnPerRoute(int maxConnPerRoute)
Assigns maximum connection per route value.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setMaxConnTotal(int maxConnTotal)
Assigns maximum total connection value.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setProxy(HttpHost proxy)
Assigns default proxy value.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy)
Assigns
AuthenticationStrategy instance for target
host authentication. |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setPublicSuffixMatcher(PublicSuffixMatcher publicSuffixMatcher)
Assigns file containing public suffix matcher.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setRedirectStrategy(RedirectStrategy redirectStrategy)
Assigns
RedirectStrategy instance. |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setRoutePlanner(HttpRoutePlanner routePlanner)
Assigns
HttpRoutePlanner instance. |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setSchemePortResolver(SchemePortResolver schemePortResolver)
Assigns
SchemePortResolver instance. |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setSSLContext(SSLContext sslcontext)
Assigns
SSLContext instance. |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setSSLHostnameVerifier(HostnameVerifier hostnameVerifier)
Assigns
HostnameVerifier instance. |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setSSLStrategy(SchemeIOSessionStrategy strategy)
Assigns
SchemeIOSessionStrategy instance. |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy)
Assigns
AuthenticationStrategy instance for proxy
authentication. |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setThreadFactory(ThreadFactory threadFactory)
Assigns
ThreadFactory instance. |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setUserAgent(String userAgent)
Assigns
User-Agent value. |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setUserTokenHandler(UserTokenHandler userTokenHandler)
Assigns
UserTokenHandler instance. |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.useSystemProperties()
Use system properties when creating and configuring default
implementations.
|
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.