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

- Packages that use DnsResolver
  软件包 | 描述
  --- | ---
  org.apache.http.impl.client | 默认HTTP客户端实现。
  org.apache.http.impl.conn | 客户端连接管理功能的默认实现。

- - ### 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)` 分配`DnsResolver`实例。

  - ### 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` 内存`DnsResolver`实现。
    `class` | `SystemDefaultDnsResolver` DNS解析器使用默认的操作系统实现来解析主机名。

    Fields in org.apache.http.impl.conn declared as DnsResolver
    Modifier and Type | Field and Description
    --- | ---
    `protected DnsResolver` | DefaultClientConnectionOperator.`dnsResolver` 已过时。 自定义配置的DNS查找机制。

    Constructors in org.apache.http.impl.conn with parameters of type DnsResolver
    Constructor and Description
    `BasicHttpClientConnectionManager(Lookup<ConnectionSocketFactory> socketFactoryRegistry, HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory, SchemePortResolver schemePortResolver, DnsResolver dnsResolver)`
    `DefaultClientConnectionOperator(SchemeRegistry schemes, DnsResolver dnsResolver)` 已过时。 为给定的方案注册表和给定的自定义DNS查找机制创建一个新的客户端连接运算符。
    `DefaultHttpClientConnectionOperator(Lookup<ConnectionSocketFactory> socketFactoryRegistry, SchemePortResolver schemePortResolver, DnsResolver dnsResolver)`
    `PoolingClientConnectionManager(SchemeRegistry schreg, DnsResolver dnsResolver)` 已过时。
    `PoolingClientConnectionManager(SchemeRegistry schemeRegistry, long timeToLive, TimeUnit tunit, DnsResolver dnsResolver)` 已过时。
    `PoolingHttpClientConnectionManager(Registry<ConnectionSocketFactory> socketFactoryRegistry, DnsResolver dnsResolver)`
    `PoolingHttpClientConnectionManager(Registry<ConnectionSocketFactory> socketFactoryRegistry, HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory, DnsResolver dnsResolver)`
    `PoolingHttpClientConnectionManager(Registry<ConnectionSocketFactory> socketFactoryRegistry, HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory, SchemePortResolver schemePortResolver, DnsResolver dnsResolver, long timeToLive, TimeUnit tunit)`

Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.

本帮助文档是使用 《谷歌翻译》翻译，请与英文版配合使用 by--QQ:654638585