DatagramDnsResponseDecoder
| Modifier and Type | Field and Description |
|---|---|
| public static final DnsRecordDecoder |
| Modifier and Type | Method and Description |
|---|---|
| public DnsQuestion | decodeQuestion(Buffer
the input buffer which contains a DNS question at its reader index in)Decodes a DNS question into its object representation. |
| public <T extends DnsRecord> T | Returns: the decoded record, ornull if there are not enough data in the input bufferthe input buffer which contains a DNS record at its reader index in)Decodes a DNS record into its object representation. |
| DEFAULT | back to summary |
|---|---|
| public static final DnsRecordDecoder DEFAULT | |
| decodeQuestion | back to summary |
|---|---|
| public DnsQuestion decodeQuestion(Buffer in) throws Exception Decodes a DNS question into its object representation.
| |
| decodeRecord | back to summary |
|---|---|
| public <T extends DnsRecord> T decodeRecord(BufferAllocator allocator, Buffer in) throws Exception Decodes a DNS record into its object representation.
| |