DnsRecordDecoder Type — netty Architecture
Architecture documentation for the DnsRecordDecoder type/interface in DnsRecordDecoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD ea2746e9_f1b4_b038_b22a_76b1074c9307["DnsRecordDecoder"] 0c38e745_c292_c071_7e32_52815a50f5e6["DnsRecordDecoder.java"] ea2746e9_f1b4_b038_b22a_76b1074c9307 -->|defined in| 0c38e745_c292_c071_7e32_52815a50f5e6 style ea2746e9_f1b4_b038_b22a_76b1074c9307 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-dns/src/main/java/io/netty/handler/codec/dns/DnsRecordDecoder.java lines 25–44
public interface DnsRecordDecoder {
DnsRecordDecoder DEFAULT = new DefaultDnsRecordDecoder();
/**
* Decodes a DNS question into its object representation.
*
* @param in the input buffer which contains a DNS question at its reader index
*/
DnsQuestion decodeQuestion(ByteBuf in) throws Exception;
/**
* Decodes a DNS record into its object representation.
*
* @param in the input buffer which contains a DNS record at its reader index
*
* @return the decoded record, or {@code null} if there are not enough data in the input buffer
*/
<T extends DnsRecord> T decodeRecord(ByteBuf in) throws Exception;
}
Source
Frequently Asked Questions
What is the DnsRecordDecoder type?
DnsRecordDecoder is a type/interface in the netty codebase, defined in codec-dns/src/main/java/io/netty/handler/codec/dns/DnsRecordDecoder.java.
Where is DnsRecordDecoder defined?
DnsRecordDecoder is defined in codec-dns/src/main/java/io/netty/handler/codec/dns/DnsRecordDecoder.java at line 25.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free