## Uses of Interface
org.apache.http.conn.DnsResolver

- Packages that use DnsResolver
  Package | Description
  --- | ---
  org.apache.http.impl.client | Default HTTP client implementation.
  org.apache.http.impl.conn | Default implementations of client connection management functions.

- - ### Uses of DnsResolver in org.apache.http.impl.client

    Methods in org.apache.http.impl.client with parameters of type DnsResolver
    Modifier and Type | Method and Description
    --- | ---
    `HttpClientBuilder` | HttpClientBuilder.`setDnsResolver(DnsResolver dnsResolver)` Assigns `DnsResolver` instance.

  - ### Uses of DnsResolver in org.apache.http.impl.conn

    Classes in org.apache.http.impl.conn that implement DnsResolver
    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.

    Fields in org.apache.http.impl.conn declared as DnsResolver
    Modifier and Type | Field and Description
    --- | ---
    `protected DnsResolver` | DefaultClientConnectionOperator.`dnsResolver` Deprecated. the custom-configured DNS lookup mechanism.

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