Package io.netty.handler.codec.dns
Class DnsOpCode
java.lang.Object
io.netty.handler.codec.dns.DnsOpCode
- All Implemented Interfaces:
Comparable<DnsOpCode>
The DNS
OpCode
as defined in RFC2929.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final byte
static final DnsOpCode
The 'IQuery' DNS OpCode, as defined in RFC1035.private final String
static final DnsOpCode
The 'Notify' DNS OpCode, as defined in RFC1996.static final DnsOpCode
The 'Query' DNS OpCode, as defined in RFC1035.static final DnsOpCode
The 'Status' DNS OpCode, as defined in RFC1035.private String
static final DnsOpCode
The 'Update' DNS OpCode, as defined in RFC2136. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
QUERY
The 'Query' DNS OpCode, as defined in RFC1035. -
IQUERY
The 'IQuery' DNS OpCode, as defined in RFC1035. -
STATUS
The 'Status' DNS OpCode, as defined in RFC1035. -
NOTIFY
The 'Notify' DNS OpCode, as defined in RFC1996. -
UPDATE
The 'Update' DNS OpCode, as defined in RFC2136. -
byteValue
private final byte byteValue -
name
-
text
-
-
Constructor Details
-
DnsOpCode
private DnsOpCode(int byteValue) -
DnsOpCode
-
-
Method Details
-
valueOf
Returns theDnsOpCode
instance of the specified byte value. -
byteValue
public byte byteValue() -
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<DnsOpCode>
-
toString
-