程序包 | 说明 |
---|---|
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 |
CompositeNameResolver<T>
A composite
SimpleNameResolver that resolves a host name against a sequence of NameResolver s. |
class |
DefaultNameResolver
A
InetNameResolver that resolves using JDK's built-in domain name lookup mechanism. |
class |
InetNameResolver
A skeletal
NameResolver implementation that resolves InetAddress . |
class |
RoundRobinInetAddressResolver
A
NameResolver that resolves InetAddress and force Round Robin by choosing a single address
randomly in resolve(String) and resolve(String, Promise)
if multiple are returned by the NameResolver . |
限定符和类型 | 类和说明 |
---|---|
class |
DnsNameResolver
A DNS-based
InetNameResolver . |