Uses of Class
io.netty.handler.codec.dns.DnsResponseCode
-
Packages that use DnsResponseCode Package Description io.netty.handler.codec.dns DNS codec.io.netty.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.netty.handler.codec.dns
Fields in io.netty.handler.codec.dns declared as DnsResponseCode Modifier and Type Field Description static DnsResponseCodeDnsResponseCode. BADALGThe 'BADALG' DNS RCODE (21), as defined in RFC2930.static DnsResponseCodeDnsResponseCode. BADKEYThe 'BADKEY' DNS RCODE (17), as defined in RFC2845.static DnsResponseCodeDnsResponseCode. BADMODEThe 'BADMODE' DNS RCODE (19), as defined in RFC2930.static DnsResponseCodeDnsResponseCode. BADNAMEThe 'BADNAME' DNS RCODE (20), as defined in RFC2930.static DnsResponseCodeDnsResponseCode. BADTIMEThe 'BADTIME' DNS RCODE (18), as defined in RFC2845.static DnsResponseCodeDnsResponseCode. BADVERS_OR_BADSIGstatic DnsResponseCodeDnsResponseCode. FORMERRThe 'FormErr' DNS RCODE (1), as defined in RFC1035.static DnsResponseCodeDnsResponseCode. NOERRORThe 'NoError' DNS RCODE (0), as defined in RFC1035.static DnsResponseCodeDnsResponseCode. NOTAUTHThe 'NotAuth' DNS RCODE (9), as defined in RFC2136.static DnsResponseCodeDnsResponseCode. NOTIMPThe 'NotImp' DNS RCODE (4), as defined in RFC1035.static DnsResponseCodeDnsResponseCode. NOTZONEThe 'NotZone' DNS RCODE (10), as defined in RFC2136.static DnsResponseCodeDnsResponseCode. NXDOMAINThe 'NXDomain' DNS RCODE (3), as defined in RFC1035.static DnsResponseCodeDnsResponseCode. NXRRSETThe 'NXRRSet' DNS RCODE (8), as defined in RFC2136.static DnsResponseCodeDnsResponseCode. REFUSEDThe 'Refused' DNS RCODE (5), as defined in RFC1035.static DnsResponseCodeDnsResponseCode. SERVFAILThe 'ServFail' DNS RCODE (2), as defined in RFC1035.static DnsResponseCodeDnsResponseCode. YXDOMAINThe 'YXDomain' DNS RCODE (6), as defined in RFC2136.static DnsResponseCodeDnsResponseCode. YXRRSETThe 'YXRRSet' DNS RCODE (7), as defined in RFC2136.Methods in io.netty.handler.codec.dns that return DnsResponseCode Modifier and Type Method Description DnsResponseCodeDefaultDnsResponse. code()DnsResponseCodeDnsResponse. code()Returns the 4 bit return code.static DnsResponseCodeDnsResponseCode. valueOf(int responseCode)Returns theDnsResponseCodethat corresponds with the givenresponseCode.Methods in io.netty.handler.codec.dns with parameters of type DnsResponseCode Modifier and Type Method Description intDnsResponseCode. compareTo(DnsResponseCode o)DatagramDnsResponseDatagramDnsResponse. setCode(DnsResponseCode code)DnsResponseDefaultDnsResponse. setCode(DnsResponseCode code)DnsResponseDnsResponse. setCode(DnsResponseCode code)Sets the response code for this message.Constructors in io.netty.handler.codec.dns with parameters of type DnsResponseCode Constructor Description DatagramDnsResponse(java.net.InetSocketAddress sender, java.net.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.netty.resolver.dns
Methods in io.netty.resolver.dns that return DnsResponseCode Modifier and Type Method Description DnsResponseCodeDnsErrorCauseException. getCode()Returns the DNS error-code that caused theUnknownHostException.Methods in io.netty.resolver.dns with parameters of type DnsResponseCode Modifier and Type Method Description DnsQueryLifecycleObserverBiDnsQueryLifecycleObserver. queryNoAnswer(DnsResponseCode code)DnsQueryLifecycleObserverDnsQueryLifecycleObserver. queryNoAnswer(DnsResponseCode code)The response to the query didn't provide the expected response code, but it didn't returnNXDOMAINso we may try to query again.
-