public static final class DnsOverHttps.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DnsOverHttps.Builder |
bootstrapDnsHosts(java.net.InetAddress... bootstrapDnsHosts) |
DnsOverHttps.Builder |
bootstrapDnsHosts(java.util.List<java.net.InetAddress> bootstrapDnsHosts) |
DnsOverHttps |
build() |
DnsOverHttps.Builder |
client(OkHttpClient client) |
DnsOverHttps.Builder |
includeIPv6(boolean includeIPv6) |
DnsOverHttps.Builder |
post(boolean post) |
DnsOverHttps.Builder |
resolvePrivateAddresses(boolean resolvePrivateAddresses) |
DnsOverHttps.Builder |
resolvePublicAddresses(boolean resolvePublicAddresses) |
DnsOverHttps.Builder |
systemDns(Dns systemDns) |
DnsOverHttps.Builder |
url(HttpUrl url) |
public DnsOverHttps build()
public DnsOverHttps.Builder client(OkHttpClient client)
public DnsOverHttps.Builder url(HttpUrl url)
public DnsOverHttps.Builder includeIPv6(boolean includeIPv6)
public DnsOverHttps.Builder post(boolean post)
public DnsOverHttps.Builder resolvePrivateAddresses(boolean resolvePrivateAddresses)
public DnsOverHttps.Builder resolvePublicAddresses(boolean resolvePublicAddresses)
public DnsOverHttps.Builder bootstrapDnsHosts(@Nullable java.util.List<java.net.InetAddress> bootstrapDnsHosts)
public DnsOverHttps.Builder bootstrapDnsHosts(java.net.InetAddress... bootstrapDnsHosts)
public DnsOverHttps.Builder systemDns(Dns systemDns)
Copyright © 2019. All Rights Reserved.