Modifier and Type | Field and Description |
---|---|
static Dns |
Dns.SYSTEM
A DNS that uses
InetAddress.getAllByName(java.lang.String) to ask the underlying operating system to
lookup IP addresses. |
Modifier and Type | Method and Description |
---|---|
Dns |
OkHttpClient.dns() |
Dns |
Address.dns()
Returns the service that will be used to resolve IP addresses for hostnames.
|
Modifier and Type | Method and Description |
---|---|
OkHttpClient.Builder |
OkHttpClient.Builder.dns(Dns dns)
Sets the DNS service used to lookup IP addresses for hostnames.
|
Constructor and Description |
---|
Address(String uriHost,
int uriPort,
Dns dns,
SocketFactory socketFactory,
SSLSocketFactory sslSocketFactory,
HostnameVerifier hostnameVerifier,
CertificatePinner certificatePinner,
Authenticator proxyAuthenticator,
Proxy proxy,
List<Protocol> protocols,
List<ConnectionSpec> connectionSpecs,
ProxySelector proxySelector) |
Copyright © 2020. All rights reserved.