软件包 | 描述 |
---|---|
io.netty.handler.codec.dns |
DNS编解码器。
|
Modifier and Type | Method and Description |
---|---|
static DnsSection |
DnsSection.valueOf(java.lang.String name)
以指定名称返回此类型的枚举常量。
|
static DnsSection[] |
DnsSection.values()
按照声明的顺序返回包含此枚举类型常量的数组。
|
Modifier and Type | Method and Description |
---|---|
DnsResponse |
DnsResponse.addRecord(DnsSection section, DnsRecord record) |
DnsQuery |
DnsQuery.addRecord(DnsSection section, DnsRecord record) |
DnsMessage |
DnsMessage.addRecord(DnsSection section, DnsRecord record)
添加指定
record 在指定的结束
section 此DNS的消息。
|
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)
添加指定
record 在指定
index 指定的
section 此DNS的消息。
|
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)
删除此DNS消息的指定
section 的所有记录。
|
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)
返回此DNS消息的指定
section 中的记录数。
|
int |
AbstractDnsMessage.count(DnsSection section) |
<T extends DnsRecord> |
DnsMessage.recordAt(DnsSection section)
返回此DNS消息的指定
section 中的第一条记录。
|
<T extends DnsRecord> |
AbstractDnsMessage.recordAt(DnsSection section) |
<T extends DnsRecord> |
DnsMessage.recordAt(DnsSection section, int index)
返回此DNS消息的指定
index 的指定
section 处的记录。
|
<T extends DnsRecord> |
AbstractDnsMessage.recordAt(DnsSection section, int index) |
<T extends DnsRecord> |
DnsMessage.removeRecord(DnsSection section, int index)
从此DNS消息中删除指定
index 的指定
section 处的记录。
|
<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)
设置指定的
section 这个DNS消息到指定的
record ,使其成为一个单一的记录部分。
|
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)
设置指定的
record 在指定的
index 指定的
section 这个DNS信息。
|
<T extends DnsRecord> |
AbstractDnsMessage.setRecord(DnsSection section, int index, DnsRecord record) |
Copyright © 2008–2018 The Netty Project. All rights reserved.