Package | Description |
---|---|
org.apache.hc.client5.http |
Client component APIs common to all client transports
such as connection route information and resolution
as well as common HTTP method definitions and
exception classes.
|
org.apache.hc.client5.http.impl | |
org.apache.hc.client5.http.impl.async |
Asynchronous HTTP client API implementation that supports both
HTTP/2 and HTTP/1.1 transport.
|
org.apache.hc.client5.http.impl.auth |
Standard and common HTTP authentication schemes.
|
org.apache.hc.client5.http.impl.classic |
Classic HTTP client API implementation that supports HTTP/1.1 transport
only.
|
org.apache.hc.client5.http.impl.io |
Client connection management functions based the classic
connection management APIs.
|
org.apache.hc.client5.http.impl.nio |
Client connection management functions based the asynchronous
connection management APIs.
|
org.apache.hc.client5.http.impl.routing |
Standard client connection routing API implementations.
|
org.apache.hc.client5.http.routing |
Client connection routing APIs.
|
Modifier and Type | Method and Description |
---|---|
static ContextBuilder |
ContextBuilder.create(SchemePortResolver schemePortResolver) |
Constructor and Description |
---|
AbstractClientContextBuilder(SchemePortResolver schemePortResolver) |
ContextBuilder(SchemePortResolver schemePortResolver) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultSchemePortResolver
Default
SchemePortResolver . |
Modifier and Type | Method and Description |
---|---|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setSchemePortResolver(SchemePortResolver schemePortResolver)
Assigns
SchemePortResolver instance. |
H2AsyncClientBuilder |
H2AsyncClientBuilder.setSchemePortResolver(SchemePortResolver schemePortResolver)
Assigns
SchemePortResolver instance. |
Constructor and Description |
---|
AsyncConnectExec(org.apache.hc.core5.http.protocol.HttpProcessor proxyHttpProcessor,
AuthenticationStrategy proxyAuthStrategy,
SchemePortResolver schemePortResolver,
boolean authCachingDisabled) |
Constructor and Description |
---|
AuthCacheKeeper(SchemePortResolver schemePortResolver) |
BasicAuthCache(SchemePortResolver schemePortResolver)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
HttpClientBuilder |
HttpClientBuilder.setSchemePortResolver(SchemePortResolver schemePortResolver)
Assigns
SchemePortResolver instance. |
Constructor and Description |
---|
ConnectExec(org.apache.hc.core5.http.ConnectionReuseStrategy reuseStrategy,
org.apache.hc.core5.http.protocol.HttpProcessor proxyHttpProcessor,
AuthenticationStrategy proxyAuthStrategy,
SchemePortResolver schemePortResolver,
boolean authCachingDisabled) |
ProtocolExec(AuthenticationStrategy targetAuthStrategy,
AuthenticationStrategy proxyAuthStrategy,
SchemePortResolver schemePortResolver,
boolean authCachingDisabled) |
Modifier and Type | Method and Description |
---|---|
static BasicHttpClientConnectionManager |
BasicHttpClientConnectionManager.create(SchemePortResolver schemePortResolver,
DnsResolver dnsResolver,
org.apache.hc.core5.http.config.Lookup<TlsSocketStrategy> tlsSocketStrategyRegistry,
org.apache.hc.core5.http.io.HttpConnectionFactory<ManagedHttpClientConnection> connFactory) |
protected HttpClientConnectionOperator |
PoolingHttpClientConnectionManagerBuilder.createConnectionOperator(SchemePortResolver schemePortResolver,
DnsResolver dnsResolver,
TlsSocketStrategy tlsSocketStrategy) |
PoolingHttpClientConnectionManagerBuilder |
PoolingHttpClientConnectionManagerBuilder.setSchemePortResolver(SchemePortResolver schemePortResolver)
Assigns
SchemePortResolver instance. |
Constructor and Description |
---|
BasicHttpClientConnectionManager(org.apache.hc.core5.http.config.Lookup<ConnectionSocketFactory> socketFactoryRegistry,
org.apache.hc.core5.http.io.HttpConnectionFactory<ManagedHttpClientConnection> connFactory,
SchemePortResolver schemePortResolver,
DnsResolver dnsResolver)
|
DefaultHttpClientConnectionOperator(DetachedSocketFactory detachedSocketFactory,
SchemePortResolver schemePortResolver,
DnsResolver dnsResolver,
org.apache.hc.core5.http.config.Lookup<TlsSocketStrategy> tlsSocketStrategyLookup) |
DefaultHttpClientConnectionOperator(org.apache.hc.core5.http.config.Lookup<ConnectionSocketFactory> socketFactoryRegistry,
SchemePortResolver schemePortResolver,
DnsResolver dnsResolver)
Deprecated.
Do not use.
|
DefaultHttpClientConnectionOperator(SchemePortResolver schemePortResolver,
DnsResolver dnsResolver,
org.apache.hc.core5.http.config.Lookup<TlsSocketStrategy> tlsSocketStrategyLookup) |
PoolingHttpClientConnectionManager(org.apache.hc.core5.http.config.Registry<ConnectionSocketFactory> socketFactoryRegistry,
org.apache.hc.core5.pool.PoolConcurrencyPolicy poolConcurrencyPolicy,
org.apache.hc.core5.pool.PoolReusePolicy poolReusePolicy,
org.apache.hc.core5.util.TimeValue timeToLive,
SchemePortResolver schemePortResolver,
DnsResolver dnsResolver,
org.apache.hc.core5.http.io.HttpConnectionFactory<ManagedHttpClientConnection> connFactory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected AsyncClientConnectionOperator |
PoolingAsyncClientConnectionManagerBuilder.createConnectionOperator(org.apache.hc.core5.http.nio.ssl.TlsStrategy tlsStrategy,
SchemePortResolver schemePortResolver,
DnsResolver dnsResolver) |
PoolingAsyncClientConnectionManagerBuilder |
PoolingAsyncClientConnectionManagerBuilder.setSchemePortResolver(SchemePortResolver schemePortResolver)
Assigns
SchemePortResolver instance. |
Constructor and Description |
---|
PoolingAsyncClientConnectionManager(org.apache.hc.core5.http.config.Lookup<org.apache.hc.core5.http.nio.ssl.TlsStrategy> tlsStrategyLookup,
org.apache.hc.core5.pool.PoolConcurrencyPolicy poolConcurrencyPolicy,
org.apache.hc.core5.pool.PoolReusePolicy poolReusePolicy,
org.apache.hc.core5.util.TimeValue timeToLive,
SchemePortResolver schemePortResolver,
DnsResolver dnsResolver) |
Constructor and Description |
---|
DefaultProxyRoutePlanner(org.apache.hc.core5.http.HttpHost proxy,
SchemePortResolver schemePortResolver) |
DefaultRoutePlanner(SchemePortResolver schemePortResolver) |
SystemDefaultRoutePlanner(SchemePortResolver schemePortResolver,
ProxySelector proxySelector) |
Modifier and Type | Method and Description |
---|---|
static org.apache.hc.core5.http.HttpHost |
RoutingSupport.normalize(org.apache.hc.core5.http.HttpHost host,
SchemePortResolver schemePortResolver) |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.