Uses of Interface
io.netty5.handler.codec.dns.DnsResponse
-
Packages that use DnsResponse Package Description io.netty5.handler.codec.dns DNS codec.io.netty5.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 DnsResponse in io.netty5.handler.codec.dns
Classes in io.netty5.handler.codec.dns that implement DnsResponse Modifier and Type Class Description class
DatagramDnsResponse
ADnsResponse
implementation for UDP/IP.class
DefaultDnsResponse
The defaultDnsResponse
implementation.Methods in io.netty5.handler.codec.dns that return DnsResponse Modifier and Type Method Description DnsResponse
DefaultDnsResponse. addRecord(DnsSection section, int index, DnsRecord record)
DnsResponse
DefaultDnsResponse. addRecord(DnsSection section, DnsRecord record)
DnsResponse
DnsResponse. addRecord(DnsSection section, int index, DnsRecord record)
DnsResponse
DnsResponse. addRecord(DnsSection section, DnsRecord record)
DnsResponse
DefaultDnsResponse. clear()
DnsResponse
DefaultDnsResponse. clear(DnsSection section)
DnsResponse
DnsResponse. clear()
DnsResponse
DnsResponse. clear(DnsSection section)
protected DnsResponse
DatagramDnsResponseDecoder. decodeResponse(ChannelHandlerContext ctx, DatagramPacket packet)
DnsResponse
DefaultDnsResponse. retain()
DnsResponse
DefaultDnsResponse. retain(int increment)
DnsResponse
DnsResponse. retain()
DnsResponse
DnsResponse. retain(int increment)
DnsResponse
DefaultDnsResponse. setAuthoritativeAnswer(boolean authoritativeAnswer)
DnsResponse
DnsResponse. setAuthoritativeAnswer(boolean authoritativeAnswer)
Set totrue
if responding server is authoritative for the domain name in the query message.DnsResponse
DefaultDnsResponse. setCode(DnsResponseCode code)
DnsResponse
DnsResponse. setCode(DnsResponseCode code)
Sets the response code for this message.DnsResponse
DefaultDnsResponse. setId(int id)
DnsResponse
DnsResponse. setId(int id)
DnsResponse
DefaultDnsResponse. setOpCode(DnsOpCode opCode)
DnsResponse
DnsResponse. setOpCode(DnsOpCode opCode)
DnsResponse
DefaultDnsResponse. setRecord(DnsSection section, DnsRecord record)
DnsResponse
DnsResponse. setRecord(DnsSection section, DnsRecord record)
DnsResponse
DefaultDnsResponse. setRecursionAvailable(boolean recursionAvailable)
DnsResponse
DnsResponse. setRecursionAvailable(boolean recursionAvailable)
Set totrue
if DNS server can handle recursive queries.DnsResponse
DefaultDnsResponse. setRecursionDesired(boolean recursionDesired)
DnsResponse
DnsResponse. setRecursionDesired(boolean recursionDesired)
DnsResponse
DefaultDnsResponse. setTruncated(boolean truncated)
DnsResponse
DnsResponse. setTruncated(boolean truncated)
Set totrue
if response has been truncated (usually happens for responses over 512 bytes).DnsResponse
DefaultDnsResponse. setZ(int z)
DnsResponse
DnsResponse. setZ(int z)
DnsResponse
DefaultDnsResponse. touch()
DnsResponse
DefaultDnsResponse. touch(Object hint)
DnsResponse
DnsResponse. touch()
DnsResponse
DnsResponse. touch(Object hint)
Methods in io.netty5.handler.codec.dns with parameters of type DnsResponse Modifier and Type Method Description protected void
TcpDnsResponseEncoder. encode(ChannelHandlerContext ctx, DnsResponse response, List<Object> out)
Method parameters in io.netty5.handler.codec.dns with type arguments of type DnsResponse Modifier and Type Method Description protected Buffer
DatagramDnsResponseEncoder. allocateBuffer(ChannelHandlerContext ctx, AddressedEnvelope<DnsResponse,InetSocketAddress> msg)
Allocate aBuffer
which will be used for constructing a datagram packet.protected void
DatagramDnsResponseEncoder. encode(ChannelHandlerContext ctx, AddressedEnvelope<DnsResponse,InetSocketAddress> in, List<Object> out)
-
Uses of DnsResponse in io.netty5.resolver.dns
Methods in io.netty5.resolver.dns that return types with arguments of type DnsResponse Modifier and Type Method Description Future<AddressedEnvelope<DnsResponse,InetSocketAddress>>
DnsNameResolver. query(DnsQuestion question)
Sends a DNS query with the specified question.Future<AddressedEnvelope<DnsResponse,InetSocketAddress>>
DnsNameResolver. query(DnsQuestion question, Promise<AddressedEnvelope<? extends DnsResponse,InetSocketAddress>> promise)
Sends a DNS query with the specified question.Future<AddressedEnvelope<DnsResponse,InetSocketAddress>>
DnsNameResolver. query(DnsQuestion question, Iterable<DnsRecord> additionals)
Sends a DNS query with the specified question with additional records.Future<AddressedEnvelope<DnsResponse,InetSocketAddress>>
DnsNameResolver. query(InetSocketAddress nameServerAddr, DnsQuestion question)
Sends a DNS query with the specified question using the specified name server list.Future<AddressedEnvelope<DnsResponse,InetSocketAddress>>
DnsNameResolver. query(InetSocketAddress nameServerAddr, DnsQuestion question, Promise<AddressedEnvelope<? extends DnsResponse,InetSocketAddress>> promise)
Sends a DNS query with the specified question using the specified name server list.Future<AddressedEnvelope<DnsResponse,InetSocketAddress>>
DnsNameResolver. query(InetSocketAddress nameServerAddr, DnsQuestion question, Iterable<DnsRecord> additionals)
Sends a DNS query with the specified question with additional records using the specified name server list.Future<AddressedEnvelope<DnsResponse,InetSocketAddress>>
DnsNameResolver. query(InetSocketAddress nameServerAddr, DnsQuestion question, Iterable<DnsRecord> additionals, Promise<AddressedEnvelope<? extends DnsResponse,InetSocketAddress>> promise)
Sends a DNS query with the specified question with additional records using the specified name server list.Method parameters in io.netty5.resolver.dns with type arguments of type DnsResponse Modifier and Type Method Description Future<AddressedEnvelope<DnsResponse,InetSocketAddress>>
DnsNameResolver. query(DnsQuestion question, Promise<AddressedEnvelope<? extends DnsResponse,InetSocketAddress>> promise)
Sends a DNS query with the specified question.Future<AddressedEnvelope<DnsResponse,InetSocketAddress>>
DnsNameResolver. query(InetSocketAddress nameServerAddr, DnsQuestion question, Promise<AddressedEnvelope<? extends DnsResponse,InetSocketAddress>> promise)
Sends a DNS query with the specified question using the specified name server list.Future<AddressedEnvelope<DnsResponse,InetSocketAddress>>
DnsNameResolver. query(InetSocketAddress nameServerAddr, DnsQuestion question, Iterable<DnsRecord> additionals, Promise<AddressedEnvelope<? extends DnsResponse,InetSocketAddress>> promise)
Sends a DNS query with the specified question with additional records using the specified name server list.
-