Uses of Class
io.netty.handler.codec.dns.DnsResponseCode
Packages that use DnsResponseCode
Package
Description
DNS codec.
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 DnsResponseCodeModifier and TypeFieldDescriptionstatic final DnsResponseCode
DnsResponseCode.BADALG
The 'BADALG' DNS RCODE (21), as defined in RFC2930.static final DnsResponseCode
DnsResponseCode.BADKEY
The 'BADKEY' DNS RCODE (17), as defined in RFC2845.static final DnsResponseCode
DnsResponseCode.BADMODE
The 'BADMODE' DNS RCODE (19), as defined in RFC2930.static final DnsResponseCode
DnsResponseCode.BADNAME
The 'BADNAME' DNS RCODE (20), as defined in RFC2930.static final DnsResponseCode
DnsResponseCode.BADTIME
The 'BADTIME' DNS RCODE (18), as defined in RFC2845.static final DnsResponseCode
DnsResponseCode.BADVERS_OR_BADSIG
private DnsResponseCode
DefaultDnsResponse.code
static final DnsResponseCode
DnsResponseCode.FORMERR
The 'FormErr' DNS RCODE (1), as defined in RFC1035.static final DnsResponseCode
DnsResponseCode.NOERROR
The 'NoError' DNS RCODE (0), as defined in RFC1035.static final DnsResponseCode
DnsResponseCode.NOTAUTH
The 'NotAuth' DNS RCODE (9), as defined in RFC2136.static final DnsResponseCode
DnsResponseCode.NOTIMP
The 'NotImp' DNS RCODE (4), as defined in RFC1035.static final DnsResponseCode
DnsResponseCode.NOTZONE
The 'NotZone' DNS RCODE (10), as defined in RFC2136.static final DnsResponseCode
DnsResponseCode.NXDOMAIN
The 'NXDomain' DNS RCODE (3), as defined in RFC1035.static final DnsResponseCode
DnsResponseCode.NXRRSET
The 'NXRRSet' DNS RCODE (8), as defined in RFC2136.static final DnsResponseCode
DnsResponseCode.REFUSED
The 'Refused' DNS RCODE (5), as defined in RFC1035.static final DnsResponseCode
DnsResponseCode.SERVFAIL
The 'ServFail' DNS RCODE (2), as defined in RFC1035.static final DnsResponseCode
DnsResponseCode.YXDOMAIN
The 'YXDomain' DNS RCODE (6), as defined in RFC2136.static final DnsResponseCode
DnsResponseCode.YXRRSET
The 'YXRRSet' DNS RCODE (7), as defined in RFC2136.Methods in io.netty.handler.codec.dns that return DnsResponseCodeModifier and TypeMethodDescriptionDefaultDnsResponse.code()
DnsResponse.code()
Returns the 4 bit return code.static DnsResponseCode
DnsResponseCode.valueOf
(int responseCode) Returns theDnsResponseCode
that corresponds with the givenresponseCode
.Methods in io.netty.handler.codec.dns with parameters of type DnsResponseCodeModifier and TypeMethodDescriptionint
DnsResponseCode.compareTo
(DnsResponseCode o) protected abstract DnsResponse
DnsResponseDecoder.newResponse
(A sender, A recipient, int id, DnsOpCode opCode, DnsResponseCode responseCode) DatagramDnsResponse.setCode
(DnsResponseCode code) DefaultDnsResponse.setCode
(DnsResponseCode code) DnsResponse.setCode
(DnsResponseCode code) Sets the response code for this message.Constructors in io.netty.handler.codec.dns with parameters of type DnsResponseCodeModifierConstructorDescriptionDatagramDnsResponse
(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.netty.resolver.dns
Fields in io.netty.resolver.dns declared as DnsResponseCodeMethods in io.netty.resolver.dns that return DnsResponseCodeModifier and TypeMethodDescriptionDnsErrorCauseException.getCode()
Returns the DNS error-code that caused theUnknownHostException
.Methods in io.netty.resolver.dns with parameters of type DnsResponseCodeModifier and TypeMethodDescriptionprivate static Throwable
DnsResolveContext.cause
(DnsResponseCode code) (package private) static DnsErrorCauseException
DnsErrorCauseException.newStatic
(String message, DnsResponseCode code, Class<?> clazz, String method) BiDnsQueryLifecycleObserver.queryNoAnswer
(DnsResponseCode code) 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.LoggingDnsQueryLifecycleObserver.queryNoAnswer
(DnsResponseCode code) NoopDnsQueryLifecycleObserver.queryNoAnswer
(DnsResponseCode code) Constructors in io.netty.resolver.dns with parameters of type DnsResponseCodeModifierConstructorDescriptionprivate
DnsErrorCauseException
(String message, DnsResponseCode code) private
DnsErrorCauseException
(String message, DnsResponseCode code, boolean shared)