程序包 | 说明 |
---|---|
io.netty.resolver |
Resolves an arbitrary string that represents the name of an endpoint into an address.
|
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.
|
限定符和类型 | 类和说明 |
---|---|
class |
DefaultNameResolver
A
InetNameResolver that resolves using JDK's built-in domain name lookup mechanism. |
class |
RoundRobinInetAddressResolver
A
NameResolver that resolves InetAddress and force Round Robin by choosing a single address
randomly in SimpleNameResolver.resolve(String) and SimpleNameResolver.resolve(String, Promise)
if multiple are returned by the NameResolver . |
限定符和类型 | 类和说明 |
---|---|
class |
DnsNameResolver
A DNS-based
InetNameResolver . |