Uses of Class
io.netty5.handler.codec.dns.DnsResponseCode
-
Packages that use DnsResponseCode Package Description io.netty5.handler.codec.dns DNS codec.io.netty5.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. -
-
Uses of DnsResponseCode in io.netty5.handler.codec.dns
Fields in io.netty5.handler.codec.dns declared as DnsResponseCode Modifier and Type Field Description static DnsResponseCode
DnsResponseCode. BADALG
The 'BADALG' DNS RCODE (21), as defined in RFC2930.static DnsResponseCode
DnsResponseCode. BADKEY
The 'BADKEY' DNS RCODE (17), as defined in RFC2845.static DnsResponseCode
DnsResponseCode. BADMODE
The 'BADMODE' DNS RCODE (19), as defined in RFC2930.static DnsResponseCode
DnsResponseCode. BADNAME
The 'BADNAME' DNS RCODE (20), as defined in RFC2930.static DnsResponseCode
DnsResponseCode. BADTIME
The 'BADTIME' DNS RCODE (18), as defined in RFC2845.static DnsResponseCode
DnsResponseCode. BADVERS_OR_BADSIG
static DnsResponseCode
DnsResponseCode. FORMERR
The 'FormErr' DNS RCODE (1), as defined in RFC1035.static DnsResponseCode
DnsResponseCode. NOERROR
The 'NoError' DNS RCODE (0), as defined in RFC1035.static DnsResponseCode
DnsResponseCode. NOTAUTH
The 'NotAuth' DNS RCODE (9), as defined in RFC2136.static DnsResponseCode
DnsResponseCode. NOTIMP
The 'NotImp' DNS RCODE (4), as defined in RFC1035.static DnsResponseCode
DnsResponseCode. NOTZONE
The 'NotZone' DNS RCODE (10), as defined in RFC2136.static DnsResponseCode
DnsResponseCode. NXDOMAIN
The 'NXDomain' DNS RCODE (3), as defined in RFC1035.static DnsResponseCode
DnsResponseCode. NXRRSET
The 'NXRRSet' DNS RCODE (8), as defined in RFC2136.static DnsResponseCode
DnsResponseCode. REFUSED
The 'Refused' DNS RCODE (5), as defined in RFC1035.static DnsResponseCode
DnsResponseCode. SERVFAIL
The 'ServFail' DNS RCODE (2), as defined in RFC1035.static DnsResponseCode
DnsResponseCode. YXDOMAIN
The 'YXDomain' DNS RCODE (6), as defined in RFC2136.static DnsResponseCode
DnsResponseCode. YXRRSET
The 'YXRRSet' DNS RCODE (7), as defined in RFC2136.Methods in io.netty5.handler.codec.dns that return DnsResponseCode Modifier and Type Method Description DnsResponseCode
DefaultDnsResponse. code()
DnsResponseCode
DnsResponse. code()
Returns the 4 bit return code.static DnsResponseCode
DnsResponseCode. valueOf(int responseCode)
Returns theDnsResponseCode
that corresponds with the givenresponseCode
.Methods in io.netty5.handler.codec.dns with parameters of type DnsResponseCode Modifier and Type Method Description int
DnsResponseCode. compareTo(DnsResponseCode o)
DatagramDnsResponse
DatagramDnsResponse. setCode(DnsResponseCode code)
DnsResponse
DefaultDnsResponse. setCode(DnsResponseCode code)
DnsResponse
DnsResponse. setCode(DnsResponseCode code)
Sets the response code for this message.Constructors in io.netty5.handler.codec.dns with parameters of type DnsResponseCode Constructor Description DatagramDnsResponse(InetSocketAddress sender, InetSocketAddress recipient, int id, DnsOpCode opCode, DnsResponseCode responseCode)
Creates a new instance.DefaultDnsResponse(int id, DnsOpCode opCode, DnsResponseCode code)
Creates a new instance. -
Uses of DnsResponseCode in io.netty5.resolver.dns
Methods in io.netty5.resolver.dns with parameters of type DnsResponseCode Modifier and Type Method Description DnsQueryLifecycleObserver
BiDnsQueryLifecycleObserver. queryNoAnswer(DnsResponseCode code)
DnsQueryLifecycleObserver
DnsQueryLifecycleObserver. queryNoAnswer(DnsResponseCode code)
The response to the query didn't provide the expected response code, but it didn't returnNXDOMAIN
so we may try to query again.
-