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.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.
|
Modifier and Type | Class and Description |
---|---|
class |
SystemDefaultDnsResolver
DNS resolver that uses the default OS implementation for resolving host names.
|
Modifier and Type | Class and Description |
---|---|
class |
InMemoryDnsResolver
In-memory
DnsResolver implementation. |
Modifier and Type | Method and Description |
---|---|
static MinimalH2AsyncClient |
HttpAsyncClients.createHttp2Minimal(org.apache.hc.core5.http2.config.H2Config h2Config,
org.apache.hc.core5.reactor.IOReactorConfig ioReactorConfig,
DnsResolver dnsResolver,
org.apache.hc.core5.http.nio.ssl.TlsStrategy tlsStrategy)
Creates
MinimalH2AsyncClient instance optimized for HTTP/2 multiplexing message
transport without advanced HTTP protocol functionality. |
H2AsyncClientBuilder |
H2AsyncClientBuilder.setDnsResolver(DnsResolver dnsResolver)
Sets
DnsResolver instance. |
Constructor and Description |
---|
KerberosScheme(KerberosConfig config,
DnsResolver dnsResolver)
Deprecated.
|
KerberosSchemeFactory(KerberosConfig config,
DnsResolver dnsResolver)
Deprecated.
|
SPNegoScheme(KerberosConfig config,
DnsResolver dnsResolver)
Deprecated.
|
SPNegoSchemeFactory(KerberosConfig config,
DnsResolver dnsResolver)
Deprecated.
|
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.setDnsResolver(DnsResolver dnsResolver)
Sets
DnsResolver 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.setDnsResolver(DnsResolver dnsResolver)
Sets
DnsResolver instance. |
Constructor and Description |
---|
MultihomeConnectionInitiator(org.apache.hc.core5.reactor.ConnectionInitiator connectionInitiator,
DnsResolver dnsResolver) |
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) |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.