@UnstableApi
public interface DnsRecordDecoder
DatagramDnsResponseDecoder
Modifier and Type | Field and Description |
---|---|
static DnsRecordDecoder |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
DnsQuestion |
decodeQuestion(ByteBuf in)
Decodes a DNS question into its object representation.
|
<T extends DnsRecord> |
decodeRecord(ByteBuf in)
Decodes a DNS record into its object representation.
|
static final DnsRecordDecoder DEFAULT
DnsQuestion decodeQuestion(ByteBuf in) throws Exception
in
- the input buffer which contains a DNS question at its reader indexException
<T extends DnsRecord> T decodeRecord(ByteBuf in) throws Exception
in
- the input buffer which contains a DNS record at its reader indexnull
if there are not enough data in the input bufferException
Copyright © 2008–2017 The Netty Project. All rights reserved.