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.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultDnsQuestion
The default
DnsQuestion implementation. |
Modifier and Type | Method and Description |
---|---|
DnsQuestion |
DnsRecordDecoder.decodeQuestion(ByteBuf in)
Decodes a DNS question into its object representation.
|
DnsQuestion |
DefaultDnsRecordDecoder.decodeQuestion(ByteBuf in) |
Modifier and Type | Method and Description |
---|---|
void |
DnsRecordEncoder.encodeQuestion(DnsQuestion question,
ByteBuf out)
Encodes a
DnsQuestion . |
void |
DefaultDnsRecordEncoder.encodeQuestion(DnsQuestion question,
ByteBuf out) |
Modifier and Type | Method and Description |
---|---|
DnsQuestion |
DnsNameResolverException.question()
Returns the
DnsQuestion of the DNS query that has failed. |
Modifier and Type | Method and Description |
---|---|
DnsQueryLifecycleObserver |
NoopDnsQueryLifecycleObserverFactory.newDnsQueryLifecycleObserver(DnsQuestion question) |
DnsQueryLifecycleObserver |
DnsQueryLifecycleObserverFactory.newDnsQueryLifecycleObserver(DnsQuestion question)
Create a new instance of a
DnsQueryLifecycleObserver . |
Future<AddressedEnvelope<DnsResponse,InetSocketAddress>> |
DnsNameResolver.query(DnsQuestion question)
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(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)
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.
|
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.
|
DnsQueryLifecycleObserver |
DnsQueryLifecycleObserver.queryCNAMEd(DnsQuestion cnameQuestion)
The query returned a CNAME which we may attempt to follow with a new query.
|
Constructor and Description |
---|
DnsNameResolverException(InetSocketAddress remoteAddress,
DnsQuestion question,
String message) |
DnsNameResolverException(InetSocketAddress remoteAddress,
DnsQuestion question,
String message,
Throwable cause) |
Copyright © 2008–2017 The Netty Project. All rights reserved.