@UnstableApi public class DnsResponseCode extends java.lang.Object implements java.lang.Comparable<DnsResponseCode>
RCODE
,如在限定的
RFC2929 。
Modifier and Type | Field and Description |
---|---|
static DnsResponseCode |
BADALG
'BADALG'DNS RCODE(21),如
RFC2930中所定义。
|
static DnsResponseCode |
BADKEY
'BADKEY'DNS RCODE(17),如
RFC2845中所定义。
|
static DnsResponseCode |
BADMODE
'BADMODE'DNS RCODE(19),如
RFC2930中所定义。
|
static DnsResponseCode |
BADNAME
'BADNAME'DNS RCODE(20),如
RFC2930中所定义。
|
static DnsResponseCode |
BADTIME
在'BADTIME' DNS RCODE(18),如在限定的
RFC2845 。
|
static DnsResponseCode |
BADVERS_OR_BADSIG
|
static DnsResponseCode |
FORMERR
“FormErr”DNS RCODE(1),如
RFC1035中所定义。
|
static DnsResponseCode |
NOERROR
'NoError'DNS RCODE(0),如
RFC1035中所定义。
|
static DnsResponseCode |
NOTAUTH
在'NotAuth' DNS RCODE(9),如在限定的
RFC2136 。
|
static DnsResponseCode |
NOTIMP
'NotImp'DNS RCODE(4),如
RFC1035中所定义。
|
static DnsResponseCode |
NOTZONE
'NotZone'DNS RCODE(10),如
RFC2136所定义。
|
static DnsResponseCode |
NXDOMAIN
'NXDomain'DNS RCODE(3),如
RFC1035所定义。
|
static DnsResponseCode |
NXRRSET
在'NXRRSet' DNS RCODE(8),如在限定的
RFC2136 。
|
static DnsResponseCode |
REFUSED
拒绝的DNS RCODE(5),如
RFC1035中所定义。
|
static DnsResponseCode |
SERVFAIL
在'SERVFAIL' DNS RCODE(2),如在限定的
RFC1035 。
|
static DnsResponseCode |
YXDOMAIN
'YXDomain'DNS RCODE(6),如
RFC2136中所定义。
|
static DnsResponseCode |
YXRRSET
'YXRRSet'DNS RCODE(7),如
RFC2136中所定义。
|
Constructor and Description |
---|
DnsResponseCode(int code, java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DnsResponseCode o) |
boolean |
equals(java.lang.Object o)
DnsResponseCode 的平等仅取决于intValue() 。
|
int |
hashCode() |
int |
intValue()
返回此 DnsResponseCode 的错误代码。
|
java.lang.String |
toString()
返回此 DnsResponseCode 的格式化错误消息。
|
static DnsResponseCode |
valueOf(int responseCode)
返回 DnsResponseCode 与给定对应responseCode 。
|
public static final DnsResponseCode NOERROR
public static final DnsResponseCode FORMERR
public static final DnsResponseCode SERVFAIL
public static final DnsResponseCode NXDOMAIN
public static final DnsResponseCode NOTIMP
public static final DnsResponseCode REFUSED
public static final DnsResponseCode YXDOMAIN
public static final DnsResponseCode YXRRSET
public static final DnsResponseCode NXRRSET
public static final DnsResponseCode NOTAUTH
public static final DnsResponseCode NOTZONE
public static final DnsResponseCode BADVERS_OR_BADSIG
public static final DnsResponseCode BADKEY
public static final DnsResponseCode BADTIME
public static final DnsResponseCode BADMODE
public static final DnsResponseCode BADNAME
public static final DnsResponseCode BADALG
public static DnsResponseCode valueOf(int responseCode)
DnsResponseCode
与给定对应responseCode
。
responseCode
- DNS RCODE
DnsResponseCode
public int intValue()
DnsResponseCode
的错误代码。
public int compareTo(DnsResponseCode o)
compareTo
,界面
java.lang.Comparable<DnsResponseCode>
public int hashCode()
hashCode
在课堂上
java.lang.Object
public boolean equals(java.lang.Object o)
DnsResponseCode
的平等仅取决于intValue()
。
equals
在课堂上
java.lang.Object
public java.lang.String toString()
DnsResponseCode
的格式化错误消息。
toString
在课堂上
java.lang.Object
Copyright © 2008–2018 The Netty Project. All rights reserved.