程序包 | 说明 |
---|---|
io.netty.handler.codec.dns |
DNS codec.
|
限定符和类型 | 接口和说明 |
---|---|
interface |
DnsQuery
A DNS query message.
|
interface |
DnsResponse
A DNS response message.
|
限定符和类型 | 类和说明 |
---|---|
class |
AbstractDnsMessage
A skeletal implementation of
DnsMessage . |
class |
DatagramDnsQuery
A
DnsQuery implementation for UDP/IP. |
class |
DatagramDnsResponse
A
DnsResponse implementation for UDP/IP. |
class |
DefaultDnsQuery
The default
DnsQuery implementation. |
class |
DefaultDnsResponse
The default
DnsResponse implementation. |
限定符和类型 | 方法和说明 |
---|---|
DnsMessage |
DnsMessage.addRecord(DnsSection section,
DnsRecord record)
Adds the specified
record at the end of the specified section of this DNS message. |
DnsMessage |
AbstractDnsMessage.addRecord(DnsSection section,
DnsRecord record) |
DnsMessage |
DnsMessage.addRecord(DnsSection section,
int index,
DnsRecord record)
Adds the specified
record at the specified index of the specified section
of this DNS message. |
DnsMessage |
AbstractDnsMessage.addRecord(DnsSection section,
int index,
DnsRecord record) |
DnsMessage |
DnsMessage.clear()
Removes all the records in this DNS message.
|
DnsMessage |
AbstractDnsMessage.clear() |
DnsMessage |
DnsMessage.clear(DnsSection section)
Removes all the records in the specified
section of this DNS message. |
DnsMessage |
AbstractDnsMessage.clear(DnsSection section) |
DnsMessage |
DnsMessage.retain() |
DnsMessage |
AbstractDnsMessage.retain() |
DnsMessage |
DnsMessage.retain(int increment) |
DnsMessage |
AbstractDnsMessage.retain(int increment) |
DnsMessage |
DnsMessage.setId(int id)
Sets the
ID of this DNS message. |
DnsMessage |
AbstractDnsMessage.setId(int id) |
DnsMessage |
DnsMessage.setOpCode(DnsOpCode opCode)
Sets the
opCode of this DNS message. |
DnsMessage |
AbstractDnsMessage.setOpCode(DnsOpCode opCode) |
DnsMessage |
DnsMessage.setRecord(DnsSection section,
DnsRecord record)
Sets the specified
section of this DNS message to the specified record ,
making it a single-record section. |
DnsMessage |
AbstractDnsMessage.setRecord(DnsSection section,
DnsRecord record) |
DnsMessage |
DnsMessage.setRecursionDesired(boolean recursionDesired)
Sets the
RD (recursion desired} field of this DNS message. |
DnsMessage |
AbstractDnsMessage.setRecursionDesired(boolean recursionDesired) |
DnsMessage |
DnsMessage.setZ(int z)
Sets the
Z (reserved for future use) field of this DNS message. |
DnsMessage |
AbstractDnsMessage.setZ(int z) |
DnsMessage |
DnsMessage.touch() |
DnsMessage |
AbstractDnsMessage.touch() |
DnsMessage |
DnsMessage.touch(java.lang.Object hint) |
DnsMessage |
AbstractDnsMessage.touch(java.lang.Object hint) |