Package | Description |
---|---|
io.netty.resolver.dns |
An alternative to Java's built-in domain name lookup mechanism that resolves a domain name asynchronously,
which supports the queries of an arbitrary DNS record type as well.
|
Modifier and Type | Method and Description |
---|---|
static DnsServerAddresses |
DnsServerAddresses.defaultAddresses()
Deprecated.
Use
DefaultDnsServerAddressStreamProvider.defaultAddresses() .
Returns the This method has the same effect with the following code: DnsServerAddresses.sequential(DnsServerAddresses.defaultAddressList()); |
static DnsServerAddresses |
DefaultDnsServerAddressStreamProvider.defaultAddresses()
Returns the
DnsServerAddresses that yields the system DNS server addresses sequentially. |
static DnsServerAddresses |
DnsServerAddresses.rotational(InetSocketAddress... addresses)
Returns the
DnsServerAddresses that yields the specified addresses in a rotational sequential
order. |
static DnsServerAddresses |
DnsServerAddresses.rotational(Iterable<? extends InetSocketAddress> addresses)
Returns the
DnsServerAddresses that yields the specified addresses in a rotational sequential
order. |
static DnsServerAddresses |
DnsServerAddresses.sequential(InetSocketAddress... addresses)
Returns the
DnsServerAddresses that yields the specified addresses sequentially. |
static DnsServerAddresses |
DnsServerAddresses.sequential(Iterable<? extends InetSocketAddress> addresses)
Returns the
DnsServerAddresses that yields the specified addresses sequentially. |
static DnsServerAddresses |
DnsServerAddresses.shuffled(InetSocketAddress... addresses)
Returns the
DnsServerAddresses that yields the specified addresses in a shuffled order. |
static DnsServerAddresses |
DnsServerAddresses.shuffled(Iterable<? extends InetSocketAddress> addresses)
Returns the
DnsServerAddresses that yields the specified address in a shuffled order. |
static DnsServerAddresses |
DnsServerAddresses.singleton(InetSocketAddress address)
Returns the
DnsServerAddresses that yields only a single address . |
Copyright © 2008–2017 The Netty Project. All rights reserved.