Uses of Interface
io.netty.handler.codec.dns.DnsRecord
-
Packages that use DnsRecord Package Description io.netty.handler.codec.dns DNS codec.io.netty.resolver.dns An alternative to Java's built-in domain name lookup mechanism that resolves a domain name asynchronously, which supports the queries of an arbitrary DNS record type as well. -
-
Uses of DnsRecord in io.netty.handler.codec.dns
Subinterfaces of DnsRecord in io.netty.handler.codec.dns Modifier and Type Interface Description interfaceDnsOptEcsRecordAn ECS record as defined in Client Subnet in DNS Queries.interfaceDnsOptPseudoRecordAn OPT RR record.interfaceDnsPtrRecordinterfaceDnsQuestionA DNS question.interfaceDnsRawRecordA genericDnsRecordthat contains an undecodedRDATA.Classes in io.netty.handler.codec.dns that implement DnsRecord Modifier and Type Class Description classAbstractDnsOptPseudoRrRecordAn OPT RR record.classAbstractDnsRecordA skeletal implementation ofDnsRecord.classDefaultDnsOptEcsRecordDefaultDnsOptEcsRecordimplementation.classDefaultDnsPtrRecordclassDefaultDnsQuestionThe defaultDnsQuestionimplementation.classDefaultDnsRawRecordThe defaultDnsRawRecordimplementation.Methods in io.netty.handler.codec.dns with type parameters of type DnsRecord Modifier and Type Method Description <T extends DnsRecord>
TDefaultDnsRecordDecoder. decodeRecord(ByteBuf in)<T extends DnsRecord>
TDnsRecordDecoder. decodeRecord(ByteBuf in)Decodes a DNS record into its object representation.<T extends DnsRecord>
TAbstractDnsMessage. recordAt(DnsSection section)<T extends DnsRecord>
TAbstractDnsMessage. recordAt(DnsSection section, int index)<T extends DnsRecord>
TDnsMessage. recordAt(DnsSection section)Returns the first record in the specifiedsectionof this DNS message.<T extends DnsRecord>
TDnsMessage. recordAt(DnsSection section, int index)Returns the record at the specifiedindexof the specifiedsectionof this DNS message.<T extends DnsRecord>
TAbstractDnsMessage. removeRecord(DnsSection section, int index)<T extends DnsRecord>
TDnsMessage. removeRecord(DnsSection section, int index)Removes the record at the specifiedindexof the specifiedsectionfrom this DNS message.<T extends DnsRecord>
TAbstractDnsMessage. setRecord(DnsSection section, int index, DnsRecord record)<T extends DnsRecord>
TDnsMessage. setRecord(DnsSection section, int index, DnsRecord record)Sets the specifiedrecordat the specifiedindexof the specifiedsectionof this DNS message.Methods in io.netty.handler.codec.dns that return DnsRecord Modifier and Type Method Description protected DnsRecordDefaultDnsRecordDecoder. decodeRecord(java.lang.String name, DnsRecordType type, int dnsClass, long timeToLive, ByteBuf in, int offset, int length)Decodes a record from the information decoded so far byDefaultDnsRecordDecoder.decodeRecord(ByteBuf).Methods in io.netty.handler.codec.dns with parameters of type DnsRecord Modifier and Type Method Description DnsMessageAbstractDnsMessage. addRecord(DnsSection section, int index, DnsRecord record)DnsMessageAbstractDnsMessage. addRecord(DnsSection section, DnsRecord record)DatagramDnsQueryDatagramDnsQuery. addRecord(DnsSection section, int index, DnsRecord record)DatagramDnsQueryDatagramDnsQuery. addRecord(DnsSection section, DnsRecord record)DatagramDnsResponseDatagramDnsResponse. addRecord(DnsSection section, int index, DnsRecord record)DatagramDnsResponseDatagramDnsResponse. addRecord(DnsSection section, DnsRecord record)DnsQueryDefaultDnsQuery. addRecord(DnsSection section, int index, DnsRecord record)DnsQueryDefaultDnsQuery. addRecord(DnsSection section, DnsRecord record)DnsResponseDefaultDnsResponse. addRecord(DnsSection section, int index, DnsRecord record)DnsResponseDefaultDnsResponse. addRecord(DnsSection section, DnsRecord record)DnsMessageDnsMessage. addRecord(DnsSection section, int index, DnsRecord record)Adds the specifiedrecordat the specifiedindexof the specifiedsectionof this DNS message.DnsMessageDnsMessage. addRecord(DnsSection section, DnsRecord record)Adds the specifiedrecordat the end of the specifiedsectionof this DNS message.DnsQueryDnsQuery. addRecord(DnsSection section, int index, DnsRecord record)DnsQueryDnsQuery. addRecord(DnsSection section, DnsRecord record)DnsResponseDnsResponse. addRecord(DnsSection section, int index, DnsRecord record)DnsResponseDnsResponse. addRecord(DnsSection section, DnsRecord record)voidDefaultDnsRecordEncoder. encodeRecord(DnsRecord record, ByteBuf out)voidDnsRecordEncoder. encodeRecord(DnsRecord record, ByteBuf out)Encodes aDnsRecord.<T extends DnsRecord>
TAbstractDnsMessage. setRecord(DnsSection section, int index, DnsRecord record)DnsMessageAbstractDnsMessage. setRecord(DnsSection section, DnsRecord record)DatagramDnsQueryDatagramDnsQuery. setRecord(DnsSection section, DnsRecord record)DatagramDnsResponseDatagramDnsResponse. setRecord(DnsSection section, DnsRecord record)DnsQueryDefaultDnsQuery. setRecord(DnsSection section, DnsRecord record)DnsResponseDefaultDnsResponse. setRecord(DnsSection section, DnsRecord record)<T extends DnsRecord>
TDnsMessage. setRecord(DnsSection section, int index, DnsRecord record)Sets the specifiedrecordat the specifiedindexof the specifiedsectionof this DNS message.DnsMessageDnsMessage. setRecord(DnsSection section, DnsRecord record)Sets the specifiedsectionof this DNS message to the specifiedrecord, making it a single-record section.DnsQueryDnsQuery. setRecord(DnsSection section, DnsRecord record)DnsResponseDnsResponse. setRecord(DnsSection section, DnsRecord record) -
Uses of DnsRecord in io.netty.resolver.dns
Methods in io.netty.resolver.dns that return types with arguments of type DnsRecord Modifier and Type Method Description Future<java.util.List<DnsRecord>>DnsNameResolver. resolveAll(DnsQuestion question)Resolves theDnsRecords that are matched by the specifiedDnsQuestion.Future<java.util.List<DnsRecord>>DnsNameResolver. resolveAll(DnsQuestion question, java.lang.Iterable<DnsRecord> additionals)Resolves theDnsRecords that are matched by the specifiedDnsQuestion.Future<java.util.List<DnsRecord>>DnsNameResolver. resolveAll(DnsQuestion question, java.lang.Iterable<DnsRecord> additionals, Promise<java.util.List<DnsRecord>> promise)Resolves theDnsRecords that are matched by the specifiedDnsQuestion.Methods in io.netty.resolver.dns with parameters of type DnsRecord Modifier and Type Method Description DnsCacheEntryDefaultDnsCache. cache(java.lang.String hostname, DnsRecord[] additionals, java.lang.Throwable cause, EventLoop loop)DnsCacheEntryDefaultDnsCache. cache(java.lang.String hostname, DnsRecord[] additionals, java.net.InetAddress address, long originalTtl, EventLoop loop)DnsCacheEntryDnsCache. cache(java.lang.String hostname, DnsRecord[] additionals, java.lang.Throwable cause, EventLoop loop)Cache the resolution failure for a given hostname.DnsCacheEntryDnsCache. cache(java.lang.String hostname, DnsRecord[] additionals, java.net.InetAddress address, long originalTtl, EventLoop loop)Create a newDnsCacheEntryand cache a resolved address for a given hostname.DnsCacheEntryNoopDnsCache. cache(java.lang.String hostname, DnsRecord[] additional, java.lang.Throwable cause, EventLoop loop)DnsCacheEntryNoopDnsCache. cache(java.lang.String hostname, DnsRecord[] additional, java.net.InetAddress address, long originalTtl, EventLoop loop)protected voidDnsNameResolver. doResolve(java.lang.String inetHost, DnsRecord[] additionals, Promise<java.net.InetAddress> promise, DnsCache resolveCache)Hook designed for extensibility so one can pass a different cache on each resolution attempt instead of using the global one.protected voidDnsNameResolver. doResolveAll(java.lang.String inetHost, DnsRecord[] additionals, Promise<java.util.List<java.net.InetAddress>> promise, DnsCache resolveCache)Hook designed for extensibility so one can pass a different cache on each resolution attempt instead of using the global one.java.util.List<? extends DnsCacheEntry>DefaultDnsCache. get(java.lang.String hostname, DnsRecord[] additionals)java.util.List<? extends DnsCacheEntry>DnsCache. get(java.lang.String hostname, DnsRecord[] additionals)Return the cached entries for the given hostname.java.util.List<? extends DnsCacheEntry>NoopDnsCache. get(java.lang.String hostname, DnsRecord[] additionals)Method parameters in io.netty.resolver.dns with type arguments of type DnsRecord Modifier and Type Method Description Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>>DnsNameResolver. query(DnsQuestion question, java.lang.Iterable<DnsRecord> additionals)Sends a DNS query with the specified question with additional records.Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>>DnsNameResolver. query(java.net.InetSocketAddress nameServerAddr, DnsQuestion question, java.lang.Iterable<DnsRecord> additionals)Sends a DNS query with the specified question with additional records using the specified name server list.Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>>DnsNameResolver. query(java.net.InetSocketAddress nameServerAddr, DnsQuestion question, java.lang.Iterable<DnsRecord> additionals, Promise<AddressedEnvelope<? extends DnsResponse,java.net.InetSocketAddress>> promise)Sends a DNS query with the specified question with additional records using the specified name server list.Future<java.net.InetAddress>DnsNameResolver. resolve(java.lang.String inetHost, java.lang.Iterable<DnsRecord> additionals)Resolves the specified name into an address.Future<java.net.InetAddress>DnsNameResolver. resolve(java.lang.String inetHost, java.lang.Iterable<DnsRecord> additionals, Promise<java.net.InetAddress> promise)Resolves the specified name into an address.Future<java.util.List<DnsRecord>>DnsNameResolver. resolveAll(DnsQuestion question, java.lang.Iterable<DnsRecord> additionals)Resolves theDnsRecords that are matched by the specifiedDnsQuestion.Future<java.util.List<DnsRecord>>DnsNameResolver. resolveAll(DnsQuestion question, java.lang.Iterable<DnsRecord> additionals, Promise<java.util.List<DnsRecord>> promise)Resolves theDnsRecords that are matched by the specifiedDnsQuestion.Future<java.util.List<DnsRecord>>DnsNameResolver. resolveAll(DnsQuestion question, java.lang.Iterable<DnsRecord> additionals, Promise<java.util.List<DnsRecord>> promise)Resolves theDnsRecords that are matched by the specifiedDnsQuestion.Future<java.util.List<java.net.InetAddress>>DnsNameResolver. resolveAll(java.lang.String inetHost, java.lang.Iterable<DnsRecord> additionals)Resolves the specified host name and port into a list of address.Future<java.util.List<java.net.InetAddress>>DnsNameResolver. resolveAll(java.lang.String inetHost, java.lang.Iterable<DnsRecord> additionals, Promise<java.util.List<java.net.InetAddress>> promise)Resolves the specified host name and port into a list of address.
-