## Uses of Interface
org.apache.hc.client5.http.DnsResolver

- Packages that use DnsResolver
  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.

- - ### Uses of DnsResolver in org.apache.hc.client5.http

    Classes in org.apache.hc.client5.http that implement DnsResolver
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SystemDefaultDnsResolver` DNS resolver that uses the default OS implementation for resolving host names.

  - ### Uses of DnsResolver in org.apache.hc.client5.http.impl

    Classes in org.apache.hc.client5.http.impl that implement DnsResolver
    Modifier and Type | Class and Description
    --- | ---
    `class` | `InMemoryDnsResolver` In-memory `DnsResolver` implementation.

  - ### Uses of DnsResolver in org.apache.hc.client5.http.impl.async

    Methods in org.apache.hc.client5.http.impl.async with parameters of type DnsResolver
    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)` Assigns `DnsResolver` instance.

  - ### Uses of DnsResolver in org.apache.hc.client5.http.impl.auth

    Constructors in org.apache.hc.client5.http.impl.auth with parameters of type DnsResolver
    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.

  - ### Uses of DnsResolver in org.apache.hc.client5.http.impl.io

    Methods in org.apache.hc.client5.http.impl.io with parameters of type DnsResolver
    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)` Assigns `DnsResolver` instance.

    Constructors in org.apache.hc.client5.http.impl.io with parameters of type DnsResolver
    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)` Deprecated. Use `BasicHttpClientConnectionManager.create(SchemePortResolver, DnsResolver, Lookup, HttpConnectionFactory)`
    `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. Use `PoolingHttpClientConnectionManagerBuilder`

  - ### Uses of DnsResolver in org.apache.hc.client5.http.impl.nio

    Methods in org.apache.hc.client5.http.impl.nio with parameters of type DnsResolver
    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)` Assigns `DnsResolver` instance.

    Constructors in org.apache.hc.client5.http.impl.nio with parameters of type DnsResolver
    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.