| Modifier and Type | Method and Description |
|---|---|
| public DnsResponse | addRecord(DnsSection section, DnsRecord record)
Redeclares io. record at the end of the specified section of this DNS message.
|
| public DnsResponse | addRecord(DnsSection section, int index, DnsRecord record)
Redeclares io. record at the specified index of the specified section
of this DNS message.
|
| public DnsResponse | clear(DnsSection section)
Redeclares io. section of this DNS message.
|
| public DnsResponse | clear()
Redeclares io. |
| public DnsResponseCode | |
| public boolean | isAuthoritativeAnswer()
Returns |
| public boolean | |
| public boolean | |
| public DnsResponse | retain()
Redeclares io. 1.
|
| public DnsResponse | retain(int increment)
Redeclares io. increment.
|
| public DnsResponse | setAuthoritativeAnswer(boolean
flag for authoritative answer authoritativeAnswer)Set to |
| public DnsResponse | |
| public DnsResponse | setId(int id)
Redeclares io. ID of this DNS message.
|
| public DnsResponse | setOpCode(DnsOpCode opCode)
Redeclares io. opCode of this DNS message.
|
| public DnsResponse | setRecord(DnsSection section, DnsRecord record)
Redeclares io. section of this DNS message to the specified record,
making it a single-record section.
|
| public DnsResponse | setRecursionAvailable(boolean
flag for recursion availability recursionAvailable)Set to |
| public DnsResponse | setRecursionDesired(boolean recursionDesired)
Redeclares io. RD (recursion desired} field of this DNS message.
|
| public DnsResponse | setTruncated(boolean
flag for truncation truncated)Set to |
| public DnsResponse | setZ(int z)
Redeclares io. Z (reserved for future use) field of this DNS message.
|
| public DnsResponse | touch()
Redeclares io. |
| public DnsResponse | touch(Object hint)
Redeclares io. |
| addRecord | back to summary |
|---|---|
| public DnsResponse addRecord(DnsSection section, DnsRecord record) Redeclares io. Doc from io. Adds the specified
| |
| addRecord | back to summary |
|---|---|
| public DnsResponse addRecord(DnsSection section, int index, DnsRecord record) Redeclares io. Doc from io. Adds the specified
| |
| clear | back to summary |
|---|---|
| public DnsResponse clear(DnsSection section) Redeclares io. Doc from io. Removes all the records in the specified
| |
| clear | back to summary |
|---|---|
| public DnsResponse clear() Redeclares io. Doc from io. Removes all the records in this DNS message.
| |
| code | back to summary |
|---|---|
| public DnsResponseCode code() Returns the 4 bit return code. | |
| isAuthoritativeAnswer | back to summary |
|---|---|
| public boolean isAuthoritativeAnswer() Returns | |
| isRecursionAvailable | back to summary |
|---|---|
| public boolean isRecursionAvailable() Returns | |
| isTruncated | back to summary |
|---|---|
| public boolean isTruncated() Returns | |
| retain | back to summary |
|---|---|
| public DnsResponse retain() Redeclares io. Doc from io. Increases the reference count by
| |
| retain | back to summary |
|---|---|
| public DnsResponse retain(int increment) Redeclares io. Doc from io. Increases the reference count by the specified
| |
| setAuthoritativeAnswer | back to summary |
|---|---|
| public DnsResponse setAuthoritativeAnswer(boolean authoritativeAnswer) Set to
| |
| setCode | back to summary |
|---|---|
| public DnsResponse setCode(DnsResponseCode code) Sets the response code for this message.
| |
| setId | back to summary |
|---|---|
| public DnsResponse setId(int id) Redeclares io. Doc from io. Sets the
| |
| setOpCode | back to summary |
|---|---|
| public DnsResponse setOpCode(DnsOpCode opCode) Redeclares io. Doc from io. Sets the
| |
| setRecord | back to summary |
|---|---|
| public DnsResponse setRecord(DnsSection section, DnsRecord record) Redeclares io. Doc from io. Sets the specified
| |
| setRecursionAvailable | back to summary |
|---|---|
| public DnsResponse setRecursionAvailable(boolean recursionAvailable) Set to
| |
| setRecursionDesired | back to summary |
|---|---|
| public DnsResponse setRecursionDesired(boolean recursionDesired) Redeclares io. Doc from io. Sets the
| |
| setTruncated | back to summary |
|---|---|
| public DnsResponse setTruncated(boolean truncated) Set to
| |
| setZ | back to summary |
|---|---|
| public DnsResponse setZ(int z) Redeclares io. Doc from io. Sets the
| |
| touch | back to summary |
|---|---|
| public DnsResponse 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 DnsResponse 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
| |