- java.lang.Object
-
- io.netty5.handler.codec.dns.DnsOpCode
-
- All Implemented Interfaces:
Comparable<DnsOpCode>
@UnstableApi public class DnsOpCode extends Object implements Comparable<DnsOpCode>
The DNSOpCodeas defined in RFC2929.
-
-
Field Summary
Fields Modifier and Type Field Description static DnsOpCodeIQUERYThe 'IQuery' DNS OpCode, as defined in RFC1035.static DnsOpCodeNOTIFYThe 'Notify' DNS OpCode, as defined in RFC1996.static DnsOpCodeQUERYThe 'Query' DNS OpCode, as defined in RFC1035.static DnsOpCodeSTATUSThe 'Status' DNS OpCode, as defined in RFC1035.static DnsOpCodeUPDATEThe 'Update' DNS OpCode, as defined in RFC2136.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description bytebyteValue()intcompareTo(DnsOpCode o)booleanequals(Object obj)inthashCode()StringtoString()static DnsOpCodevalueOf(int b)Returns theDnsOpCodeinstance of the specified byte value.
-
-
-
Constructor Detail
-
DnsOpCode
public DnsOpCode(int byteValue, String name)
-
-