DnsQuery and a DnsResponse.
| Modifier and Type | Method and Description |
|---|---|
| public DnsMessage | addRecord(DnsSection section, DnsRecord record)
Adds the specified |
| public DnsMessage | addRecord(DnsSection section, int index, DnsRecord record)
Adds the specified |
| public DnsMessage | |
| public DnsMessage | |
| public int | count(DnsSection section)
Returns the number of records in the specified |
| public int | |
| public int | |
| public boolean | |
| public DnsOpCode | |
| public <T extends DnsRecord> T | Returns: null if this message doesn't have any records in the specified sectionReturns the first record in the specified |
| public <T extends DnsRecord> T | recordAt(DnsSection section, int index)
Returns the record at the specified |
| public <T extends DnsRecord> T | Returns: the removed recordRemoves the record at the specified |
| public DnsMessage | |
| public DnsMessage | retain(int increment)
Redeclares io. increment.
|
| public DnsMessage | |
| public DnsMessage | |
| public DnsMessage | setRecord(DnsSection section, DnsRecord record)
Sets the specified |
| public <T extends DnsRecord> T | Returns: the old recordSets the specified |
| public DnsMessage | setRecursionDesired(boolean recursionDesired)
Sets the |
| public DnsMessage | |
| public DnsMessage | touch()
Redeclares io. |
| public DnsMessage | touch(Object hint)
Redeclares io. |
| public int |
| addRecord | back to summary |
|---|---|
| public DnsMessage addRecord(DnsSection section, DnsRecord record) Adds the specified | |
| addRecord | back to summary |
|---|---|
| public DnsMessage addRecord(DnsSection section, int index, DnsRecord record) Adds the specified
| |
| clear | back to summary |
|---|---|
| public DnsMessage clear(DnsSection section) Removes all the records in the specified | |
| clear | back to summary |
|---|---|
| public DnsMessage clear() Removes all the records in this DNS message. | |
| count | back to summary |
|---|---|
| public int count(DnsSection section) Returns the number of records in the specified | |
| count | back to summary |
|---|---|
| public int count() Returns the number of records in this DNS message. | |
| id | back to summary |
|---|---|
| public int id() Returns the | |
| isRecursionDesired | back to summary |
|---|---|
| public boolean isRecursionDesired() Returns the | |
| opCode | back to summary |
|---|---|
| public DnsOpCode opCode() Returns the | |
| recordAt | back to summary |
|---|---|
| public <T extends DnsRecord> T recordAt(DnsSection section) Returns the first record in the specified
| |
| recordAt | back to summary |
|---|---|
| public <T extends DnsRecord> T recordAt(DnsSection section, int index) Returns the record at the specified
| |
| removeRecord | back to summary |
|---|---|
| public <T extends DnsRecord> T removeRecord(DnsSection section, int index) Removes the record at the specified
| |
| retain | back to summary |
|---|---|
| public DnsMessage retain() Redeclares io. Doc from io. Increases the reference count by
| |
| retain | back to summary |
|---|---|
| public DnsMessage retain(int increment) Redeclares io. Doc from io. Increases the reference count by the specified
| |
| setId | back to summary |
|---|---|
| public DnsMessage setId(int id) Sets the | |
| setOpCode | back to summary |
|---|---|
| public DnsMessage setOpCode(DnsOpCode opCode) Sets the | |
| setRecord | back to summary |
|---|---|
| public DnsMessage setRecord(DnsSection section, DnsRecord record) Sets the specified | |
| setRecord | back to summary |
|---|---|
| public <T extends DnsRecord> T setRecord(DnsSection section, int index, DnsRecord record) Sets the specified
| |
| setRecursionDesired | back to summary |
|---|---|
| public DnsMessage setRecursionDesired(boolean recursionDesired) Sets the | |
| setZ | back to summary |
|---|---|
| public DnsMessage setZ(int z) Sets the | |
| touch | back to summary |
|---|---|
| public DnsMessage touch() Redeclares io. Doc from io. Records the current access location of this object for debugging purposes.
If this object is determined to be leaked, the information recorded by this operation will be provided to you
via
| |
| touch | back to summary |
|---|---|
| public DnsMessage touch(Object hint) Redeclares io. Doc from io. Records the current access location of this object with an additional arbitrary information for debugging
purposes. If this object is determined to be leaked, the information recorded by this operation will be
provided to you via
| |
| z | back to summary |
|---|---|
| public int z() Returns the | |