软件包 | 描述 |
---|---|
io.netty.resolver.dns |
Java的内置域名查找机制的一种替代方法,可以异步解析域名,同样支持任意DNS记录类型的查询。
|
Modifier and Type | Class and Description |
---|---|
class |
BiDnsQueryLifecycleObserver
|
Modifier and Type | Method and Description |
---|---|
DnsQueryLifecycleObserver |
NoopDnsQueryLifecycleObserverFactory.newDnsQueryLifecycleObserver(DnsQuestion question) |
DnsQueryLifecycleObserver |
DnsQueryLifecycleObserverFactory.newDnsQueryLifecycleObserver(DnsQuestion question)
创建一个 DnsQueryLifecycleObserver 的新实例。
|
DnsQueryLifecycleObserver |
BiDnsQueryLifecycleObserverFactory.newDnsQueryLifecycleObserver(DnsQuestion question) |
DnsQueryLifecycleObserver |
DnsQueryLifecycleObserver.queryCNAMEd(DnsQuestion cnameQuestion)
该查询返回了一个CNAME,我们可能会尝试使用新的查询。
|
DnsQueryLifecycleObserver |
BiDnsQueryLifecycleObserver.queryCNAMEd(DnsQuestion cnameQuestion) |
DnsQueryLifecycleObserver |
DnsQueryLifecycleObserver.queryNoAnswer(DnsResponseCode code)
对查询的响应没有提供预期的响应代码,但它没有返回
DnsResponseCode.NXDOMAIN ,因此我们可能会尝试再次查询。
|
DnsQueryLifecycleObserver |
BiDnsQueryLifecycleObserver.queryNoAnswer(DnsResponseCode code) |
DnsQueryLifecycleObserver |
DnsQueryLifecycleObserver.queryRedirected(java.util.List<java.net.InetSocketAddress> nameServers)
该查询已被重定向到另一个DNS服务器列表。
|
DnsQueryLifecycleObserver |
BiDnsQueryLifecycleObserver.queryRedirected(java.util.List<java.net.InetSocketAddress> nameServers) |
Constructor and Description |
---|
BiDnsQueryLifecycleObserver(DnsQueryLifecycleObserver a, DnsQueryLifecycleObserver b)
Create a new instance.
|
Copyright © 2008–2018 The Netty Project. All rights reserved.