Package | Description |
---|---|
org.apache.http.impl.client |
Default HTTP client implementation.
|
org.apache.http.impl.conn |
Default implementations of client connection management
functions.
|
Modifier and Type | Method and Description |
---|---|
HttpClientBuilder |
HttpClientBuilder.setDnsResolver(DnsResolver dnsResolver)
Assigns
DnsResolver instance. |
Modifier and Type | Class and Description |
---|---|
class |
InMemoryDnsResolver
In-memory
DnsResolver implementation. |
class |
SystemDefaultDnsResolver
DNS resolver that uses the default OS implementation for resolving host names.
|
Modifier and Type | Field and Description |
---|---|
protected DnsResolver |
DefaultClientConnectionOperator.dnsResolver
Deprecated.
the custom-configured DNS lookup mechanism.
|
Constructor and Description |
---|
BasicHttpClientConnectionManager(org.apache.http.config.Lookup<ConnectionSocketFactory> socketFactoryRegistry,
HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory,
SchemePortResolver schemePortResolver,
DnsResolver dnsResolver) |
DefaultClientConnectionOperator(SchemeRegistry schemes,
DnsResolver dnsResolver)
Deprecated.
Creates a new client connection operator for the given scheme registry
and the given custom DNS lookup mechanism.
|
DefaultHttpClientConnectionOperator(org.apache.http.config.Lookup<ConnectionSocketFactory> socketFactoryRegistry,
SchemePortResolver schemePortResolver,
DnsResolver dnsResolver) |
PoolingClientConnectionManager(SchemeRegistry schreg,
DnsResolver dnsResolver)
Deprecated.
|
PoolingClientConnectionManager(SchemeRegistry schemeRegistry,
long timeToLive,
TimeUnit timeUnit,
DnsResolver dnsResolver)
Deprecated.
|
PoolingHttpClientConnectionManager(org.apache.http.config.Registry<ConnectionSocketFactory> socketFactoryRegistry,
DnsResolver dnsResolver) |
PoolingHttpClientConnectionManager(org.apache.http.config.Registry<ConnectionSocketFactory> socketFactoryRegistry,
HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory,
DnsResolver dnsResolver) |
PoolingHttpClientConnectionManager(org.apache.http.config.Registry<ConnectionSocketFactory> socketFactoryRegistry,
HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory,
SchemePortResolver schemePortResolver,
DnsResolver dnsResolver,
long timeToLive,
TimeUnit timeUnit) |
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.