软件包 | 描述 |
---|---|
io.netty.handler.codec.dns |
DNS编解码器。
|
io.netty.resolver.dns |
Java的内置域名查找机制的一种替代方法,可以异步解析域名,同样支持任意DNS记录类型的查询。
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultDnsQuestion
默认的 DnsQuestion 实现。
|
Modifier and Type | Method and Description |
---|---|
DnsQuestion |
DnsRecordDecoder.decodeQuestion(ByteBuf in)
将DNS问题解码为其对象表示。
|
DnsQuestion |
DefaultDnsRecordDecoder.decodeQuestion(ByteBuf in) |
Modifier and Type | Method and Description |
---|---|
void |
DnsRecordEncoder.encodeQuestion(DnsQuestion question, ByteBuf out)
编码 DnsQuestion 。
|
void |
DefaultDnsRecordEncoder.encodeQuestion(DnsQuestion question, ByteBuf out) |
Modifier and Type | Method and Description |
---|---|
DnsQuestion |
DnsNameResolverException.question()
返回失败的DNS查询的 DnsQuestion 。
|
Modifier and Type | Method and Description |
---|---|
DnsQueryLifecycleObserver |
NoopDnsQueryLifecycleObserverFactory.newDnsQueryLifecycleObserver(DnsQuestion question) |
DnsQueryLifecycleObserver |
DnsQueryLifecycleObserverFactory.newDnsQueryLifecycleObserver(DnsQuestion question)
创建一个 DnsQueryLifecycleObserver 的新实例。
|
DnsQueryLifecycleObserver |
BiDnsQueryLifecycleObserverFactory.newDnsQueryLifecycleObserver(DnsQuestion question) |
Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>> |
DnsNameResolver.query(DnsQuestion question)
用指定的问题发送DNS查询。
|
Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>> |
DnsNameResolver.query(DnsQuestion question, java.lang.Iterable<DnsRecord> additionals)
用指定的问题发送带有附加记录的DNS查询。
|
Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>> |
DnsNameResolver.query(DnsQuestion question, Promise<AddressedEnvelope<? extends DnsResponse,java.net.InetSocketAddress>> promise)
用指定的问题发送DNS查询。
|
Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>> |
DnsNameResolver.query(java.net.InetSocketAddress nameServerAddr, DnsQuestion question)
使用指定的名称服务器列表发送包含指定问题的DNS查询。
|
Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>> |
DnsNameResolver.query(java.net.InetSocketAddress nameServerAddr, DnsQuestion question, java.lang.Iterable<DnsRecord> additionals)
使用指定的名称服务器列表发送带有指定问题的DNS查询以及其他记录。
|
Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>> |
DnsNameResolver.query(java.net.InetSocketAddress nameServerAddr, DnsQuestion question, java.lang.Iterable<DnsRecord> additionals, Promise<AddressedEnvelope<? extends DnsResponse,java.net.InetSocketAddress>> promise)
使用指定的名称服务器列表发送带有指定问题的DNS查询以及其他记录。
|
Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>> |
DnsNameResolver.query(java.net.InetSocketAddress nameServerAddr, DnsQuestion question, Promise<AddressedEnvelope<? extends DnsResponse,java.net.InetSocketAddress>> promise)
使用指定的名称服务器列表发送包含指定问题的DNS查询。
|
DnsQueryLifecycleObserver |
DnsQueryLifecycleObserver.queryCNAMEd(DnsQuestion cnameQuestion)
该查询返回了一个CNAME,我们可能会尝试使用新的查询。
|
DnsQueryLifecycleObserver |
BiDnsQueryLifecycleObserver.queryCNAMEd(DnsQuestion cnameQuestion) |
Constructor and Description |
---|
DnsNameResolverException(java.net.InetSocketAddress remoteAddress, DnsQuestion question, java.lang.String message) |
DnsNameResolverException(java.net.InetSocketAddress remoteAddress, DnsQuestion question, java.lang.String message, java.lang.Throwable cause) |
DnsNameResolverTimeoutException(java.net.InetSocketAddress remoteAddress, DnsQuestion question, java.lang.String message) |
Copyright © 2008–2018 The Netty Project. All rights reserved.