public class RecordDecoder extends Object
decoders.| Modifier and Type | Field and Description |
|---|---|
static Function<io.netty.handler.codec.dns.DnsRecord,String> |
A
Decodes A resource records into IPv4 addresses.
|
static Function<io.netty.handler.codec.dns.DnsRecord,String> |
AAAA
Decodes AAAA resource records into IPv6 addresses.
|
static Function<io.netty.handler.codec.dns.DnsRecord,String> |
DOMAIN
Decodes any record that simply returns a domain name, such as NS (name
server) and CNAME (canonical name) resource records.
|
static Function<io.netty.handler.codec.dns.DnsRecord,MxRecordImpl> |
MX
Decodes MX (mail exchanger) resource records.
|
static Function<io.netty.handler.codec.dns.DnsRecord,StartOfAuthorityRecord> |
SOA
Decodes SOA (start of authority) resource records.
|
static Function<io.netty.handler.codec.dns.DnsRecord,SrvRecordImpl> |
SRV
Decodes SRV (service) resource records.
|
static Function<io.netty.handler.codec.dns.DnsRecord,List<String>> |
TXT |
| Constructor and Description |
|---|
RecordDecoder() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
decode(io.netty.handler.codec.dns.DnsRecord record)
Decodes a resource record and returns the result.
|
public static final Function<io.netty.handler.codec.dns.DnsRecord,MxRecordImpl> MX
public static final Function<io.netty.handler.codec.dns.DnsRecord,String> DOMAIN
public static final Function<io.netty.handler.codec.dns.DnsRecord,String> A
public static final Function<io.netty.handler.codec.dns.DnsRecord,String> AAAA
public static final Function<io.netty.handler.codec.dns.DnsRecord,SrvRecordImpl> SRV
public static final Function<io.netty.handler.codec.dns.DnsRecord,StartOfAuthorityRecord> SOA
Copyright © 2020. All rights reserved.