软件包 | 描述 |
---|---|
io.netty.handler.codec.dns |
DNS编解码器。
|
io.netty.resolver.dns |
Java的内置域名查找机制的一种替代方法,可以异步解析域名,同样支持任意DNS记录类型的查询。
|
Modifier and Type | Field and Description |
---|---|
static DnsResponseCode |
DnsResponseCode.BADALG
'BADALG'DNS RCODE(21),如
RFC2930中所定义。
|
static DnsResponseCode |
DnsResponseCode.BADKEY
'BADKEY'DNS RCODE(17),如
RFC2845中所定义。
|
static DnsResponseCode |
DnsResponseCode.BADMODE
'BADMODE'DNS RCODE(19),如
RFC2930中所定义。
|
static DnsResponseCode |
DnsResponseCode.BADNAME
'BADNAME'DNS RCODE(20),如
RFC2930中所定义。
|
static DnsResponseCode |
DnsResponseCode.BADTIME
在'BADTIME' DNS RCODE(18),如在限定的
RFC2845 。
|
static DnsResponseCode |
DnsResponseCode.BADVERS_OR_BADSIG
|
static DnsResponseCode |
DnsResponseCode.FORMERR
“FormErr”DNS RCODE(1),如
RFC1035中所定义。
|
static DnsResponseCode |
DnsResponseCode.NOERROR
'NoError'DNS RCODE(0),如
RFC1035中所定义。
|
static DnsResponseCode |
DnsResponseCode.NOTAUTH
在'NotAuth' DNS RCODE(9),如在限定的
RFC2136 。
|
static DnsResponseCode |
DnsResponseCode.NOTIMP
'NotImp'DNS RCODE(4),如
RFC1035中所定义。
|
static DnsResponseCode |
DnsResponseCode.NOTZONE
'NotZone'DNS RCODE(10),如
RFC2136中所定义。
|
static DnsResponseCode |
DnsResponseCode.NXDOMAIN
'NXDomain'DNS RCODE(3),如
RFC1035中所定义。
|
static DnsResponseCode |
DnsResponseCode.NXRRSET
在'NXRRSet' DNS RCODE(8),如在限定的
RFC2136 。
|
static DnsResponseCode |
DnsResponseCode.REFUSED
'Refused'DNS RCODE(5),如
RFC1035中所定义。
|
static DnsResponseCode |
DnsResponseCode.SERVFAIL
'ServFail'DNS RCODE(2),如
RFC1035中所定义。
|
static DnsResponseCode |
DnsResponseCode.YXDOMAIN
'YXDomain'DNS RCODE(6),如
RFC2136所定义。
|
static DnsResponseCode |
DnsResponseCode.YXRRSET
'YXRRSet'DNS RCODE(7),如
RFC2136中所定义。
|
Modifier and Type | Method and Description |
---|---|
DnsResponseCode |
DnsResponse.code()
返回4位返回码。
|
DnsResponseCode |
DefaultDnsResponse.code() |
static DnsResponseCode |
DnsResponseCode.valueOf(int responseCode)
返回 DnsResponseCode 与给定对应responseCode 。
|
Modifier and Type | Method and Description |
---|---|
int |
DnsResponseCode.compareTo(DnsResponseCode o) |
DnsResponse |
DnsResponse.setCode(DnsResponseCode code)
设置此消息的响应代码。
|
DnsResponse |
DefaultDnsResponse.setCode(DnsResponseCode code) |
DatagramDnsResponse |
DatagramDnsResponse.setCode(DnsResponseCode code) |
Constructor and Description |
---|
DatagramDnsResponse(java.net.InetSocketAddress sender, java.net.InetSocketAddress recipient, int id, DnsOpCode opCode, DnsResponseCode responseCode)
创建一个新的实例。
|
DefaultDnsResponse(int id, DnsOpCode opCode, DnsResponseCode code)
创建一个新的实例。
|
Modifier and Type | Method and Description |
---|---|
DnsQueryLifecycleObserver |
DnsQueryLifecycleObserver.queryNoAnswer(DnsResponseCode code)
The response to the query didn't provide the expected response code, but it didn't return
NXDOMAIN so we may try to query again.
|
DnsQueryLifecycleObserver |
BiDnsQueryLifecycleObserver.queryNoAnswer(DnsResponseCode code) |
Copyright © 2008–2018 The Netty Project. All rights reserved.