Package | Description |
---|---|
io.netty.handler.codec.dns |
DNS codec.
|
Modifier and Type | Method and Description |
---|---|
static DnsSection |
DnsSection.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DnsSection[] |
DnsSection.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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)
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) |
Copyright © 2008–2017 The Netty Project. All rights reserved.