程序包 | 说明 |
---|---|
io.netty.handler.codec.dns |
DNS codec.
|
限定符和类型 | 方法和说明 |
---|---|
static DnsSection |
DnsSection.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static DnsSection[] |
DnsSection.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
DnsResponse |
DnsResponse.addRecord(DnsSection section,
DnsRecord record) |
DnsQuery |
DnsQuery.addRecord(DnsSection section,
DnsRecord record) |
DnsMessage |
DnsMessage.addRecord(DnsSection section,
DnsRecord record)
Adds the specified
record at the end of the specified section of this DNS message. |
DnsResponse |
DefaultDnsResponse.addRecord(DnsSection section,
DnsRecord record) |
DnsQuery |
DefaultDnsQuery.addRecord(DnsSection section,
DnsRecord record) |
DatagramDnsResponse |
DatagramDnsResponse.addRecord(DnsSection section,
DnsRecord record) |
DatagramDnsQuery |
DatagramDnsQuery.addRecord(DnsSection section,
DnsRecord record) |
DnsMessage |
AbstractDnsMessage.addRecord(DnsSection section,
DnsRecord record) |
DnsResponse |
DnsResponse.addRecord(DnsSection section,
int index,
DnsRecord record) |
DnsQuery |
DnsQuery.addRecord(DnsSection section,
int index,
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. |
DnsResponse |
DefaultDnsResponse.addRecord(DnsSection section,
int index,
DnsRecord record) |
DnsQuery |
DefaultDnsQuery.addRecord(DnsSection section,
int index,
DnsRecord record) |
DatagramDnsResponse |
DatagramDnsResponse.addRecord(DnsSection section,
int index,
DnsRecord record) |
DatagramDnsQuery |
DatagramDnsQuery.addRecord(DnsSection section,
int index,
DnsRecord record) |
DnsMessage |
AbstractDnsMessage.addRecord(DnsSection section,
int index,
DnsRecord record) |
DnsResponse |
DnsResponse.clear(DnsSection section) |
DnsQuery |
DnsQuery.clear(DnsSection section) |
DnsMessage |
DnsMessage.clear(DnsSection section)
Removes all the records in the specified
section of this DNS message. |
DnsResponse |
DefaultDnsResponse.clear(DnsSection section) |
DnsQuery |
DefaultDnsQuery.clear(DnsSection section) |
DatagramDnsResponse |
DatagramDnsResponse.clear(DnsSection section) |
DatagramDnsQuery |
DatagramDnsQuery.clear(DnsSection section) |
DnsMessage |
AbstractDnsMessage.clear(DnsSection section) |
int |
DnsMessage.count(DnsSection section)
Returns the number of records in the specified
section of this DNS message. |
int |
AbstractDnsMessage.count(DnsSection section) |
<T extends DnsRecord> |
DnsMessage.recordAt(DnsSection section)
Returns the first record in the specified
section of this DNS message. |
<T extends DnsRecord> |
AbstractDnsMessage.recordAt(DnsSection section) |
<T extends DnsRecord> |
DnsMessage.recordAt(DnsSection section,
int index)
Returns the record at the specified
index of the specified section of this DNS message. |
<T extends DnsRecord> |
AbstractDnsMessage.recordAt(DnsSection section,
int index) |
<T extends DnsRecord> |
DnsMessage.removeRecord(DnsSection section,
int index)
Removes the record at the specified
index of the specified section from this DNS message. |
<T extends DnsRecord> |
AbstractDnsMessage.removeRecord(DnsSection section,
int index) |
DnsResponse |
DnsResponse.setRecord(DnsSection section,
DnsRecord record) |
DnsQuery |
DnsQuery.setRecord(DnsSection section,
DnsRecord record) |
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. |
DnsResponse |
DefaultDnsResponse.setRecord(DnsSection section,
DnsRecord record) |
DnsQuery |
DefaultDnsQuery.setRecord(DnsSection section,
DnsRecord record) |
DatagramDnsResponse |
DatagramDnsResponse.setRecord(DnsSection section,
DnsRecord record) |
DatagramDnsQuery |
DatagramDnsQuery.setRecord(DnsSection section,
DnsRecord record) |
DnsMessage |
AbstractDnsMessage.setRecord(DnsSection section,
DnsRecord record) |
<T extends DnsRecord> |
DnsMessage.setRecord(DnsSection section,
int index,
DnsRecord record)
Sets the specified
record at the specified index of the specified section
of this DNS message. |
<T extends DnsRecord> |
AbstractDnsMessage.setRecord(DnsSection section,
int index,
DnsRecord record) |