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 |
DefaultDnsRecordEncoder.encodeQuestion(DnsQuestion question,
ByteBuf out) |
void |
DnsRecordEncoder.encodeQuestion(DnsQuestion question,
ByteBuf out)
Encodes a
DnsQuestion . |
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 |
DnsQueryLifecycleObserverFactory.newDnsQueryLifecycleObserver(DnsQuestion question)
Create a new instance of a
DnsQueryLifecycleObserver . |
DnsQueryLifecycleObserver |
LoggingDnsQueryLifeCycleObserverFactory.newDnsQueryLifecycleObserver(DnsQuestion question) |
DnsQueryLifecycleObserver |
BiDnsQueryLifecycleObserverFactory.newDnsQueryLifecycleObserver(DnsQuestion question) |
DnsQueryLifecycleObserver |
NoopDnsQueryLifecycleObserverFactory.newDnsQueryLifecycleObserver(DnsQuestion question) |
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 |
BiDnsQueryLifecycleObserver.queryCNAMEd(DnsQuestion cnameQuestion) |
DnsQueryLifecycleObserver |
DnsQueryLifecycleObserver.queryCNAMEd(DnsQuestion cnameQuestion)
The query returned a CNAME which we may attempt to follow with a new query.
|
Future<List<DnsRecord>> |
DnsNameResolver.resolveAll(DnsQuestion question)
Resolves the
DnsRecord s that are matched by the specified DnsQuestion . |
Future<List<DnsRecord>> |
DnsNameResolver.resolveAll(DnsQuestion question,
Iterable<DnsRecord> additionals)
Resolves the
DnsRecord s that are matched by the specified DnsQuestion . |
Future<List<DnsRecord>> |
DnsNameResolver.resolveAll(DnsQuestion question,
Iterable<DnsRecord> additionals,
Promise<List<DnsRecord>> promise)
Resolves the
DnsRecord s that are matched by the specified DnsQuestion . |
Constructor and Description |
---|
DnsNameResolverException(InetSocketAddress remoteAddress,
DnsQuestion question,
String message) |
DnsNameResolverException(InetSocketAddress remoteAddress,
DnsQuestion question,
String message,
Throwable cause) |
DnsNameResolverTimeoutException(InetSocketAddress remoteAddress,
DnsQuestion question,
String message) |
Copyright © 2008–2024 The Netty Project. All rights reserved.