public class DefaultDnsRecordEncoder extends Object implements DnsRecordEncoder
DnsRecordEncoder implementation.DefaultDnsRecordDecoderDEFAULT| Modifier | Constructor and Description |
|---|---|
protected |
DefaultDnsRecordEncoder()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
encodeName(String name,
ByteBuf buf) |
void |
encodeQuestion(DnsQuestion question,
ByteBuf out)
Encodes a
DnsQuestion. |
void |
encodeRecord(DnsRecord record,
ByteBuf out)
Encodes a
DnsRecord. |
protected DefaultDnsRecordEncoder()
public final void encodeQuestion(DnsQuestion question, ByteBuf out) throws Exception
DnsRecordEncoderDnsQuestion.encodeQuestion in interface DnsRecordEncoderout - the output buffer where the encoded question will be written toExceptionpublic void encodeRecord(DnsRecord record, ByteBuf out) throws Exception
DnsRecordEncoderDnsRecord.encodeRecord in interface DnsRecordEncoderout - the output buffer where the encoded record will be written toExceptionCopyright © 2008–2025 The Netty Project. All rights reserved.