| Modifier and Type | Field and Description |
|---|---|
| private final AuthoritativeDnsServerCache | |
| private final boolean | |
| private final DnsCache |
| Access | Constructor and Description |
|---|---|
| pack-priv | DnsAddressResolveContext(DnsNameResolver parent, Promise<?> originalPromise, String hostname, DnsRecord[] additionals, DnsServerAddressStream nameServerAddrs, int allowedQueries, DnsCache resolveCache, AuthoritativeDnsServerCache authoritativeDnsServerCache, boolean completeEarlyIfPossible)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv AuthoritativeDnsServerCache | authoritativeDnsServerCache()
Overrides io. AuthoritativeDnsServerCache to use while resolving.
|
| pack-priv void | cache(String hostname, DnsRecord[] additionals, DnsRecord result, InetAddress convertedResult)
Implements abstract io. |
| pack-priv void | cache(String hostname, DnsRecord[] additionals, UnknownHostException cause)
Implements abstract io. |
| pack-priv InetAddress | convertRecord(DnsRecord record, String hostname, DnsRecord[] additionals, EventLoop eventLoop)
Implements abstract io. DnsRecord into T.
|
| pack-priv void | doSearchDomainQuery(String hostname, Promise<List<InetAddress>> nextPromise)
Overrides io. |
| pack-priv List | filterResults(List<InetAddress> unfiltered)
Implements abstract io. |
| pack-priv boolean | isCompleteEarly(InetAddress resolved)
Implements abstract io. |
| pack-priv boolean | isDuplicateAllowed()
Implements abstract io. true if we should allow duplicates in the result or false if no duplicates should
be included.
|
| pack-priv DnsResolveContext | newResolverContext(DnsNameResolver parent, Promise<?> originalPromise, String hostname, int dnsClass, DnsRecordType[] expectedTypes, DnsRecord[] additionals, DnsServerAddressStream nameServerAddrs, int allowedQueries)
Implements abstract io. |
| pack-priv DnsCache | resolveCache()
Overrides io. DnsCache to use while resolving.
|
| authoritativeDnsServerCache | back to summary |
|---|---|
| private final AuthoritativeDnsServerCache authoritativeDnsServerCache | |
| completeEarlyIfPossible | back to summary |
|---|---|
| private final boolean completeEarlyIfPossible | |
| resolveCache | back to summary |
|---|---|
| private final DnsCache resolveCache | |
| DnsAddressResolveContext | back to summary |
|---|---|
| pack-priv DnsAddressResolveContext(DnsNameResolver parent, Promise<?> originalPromise, String hostname, DnsRecord[] additionals, DnsServerAddressStream nameServerAddrs, int allowedQueries, DnsCache resolveCache, AuthoritativeDnsServerCache authoritativeDnsServerCache, boolean completeEarlyIfPossible) | |
| authoritativeDnsServerCache | back to summary |
|---|---|
| pack-priv AuthoritativeDnsServerCache authoritativeDnsServerCache() Overrides io. Doc from io. The
| |
| cache | back to summary |
|---|---|
| pack-priv void cache(String hostname, DnsRecord[] additionals, DnsRecord result, InetAddress convertedResult) Implements abstract io. Doc from io. Caches a successful resolution.
| |
| cache | back to summary |
|---|---|
| pack-priv void cache(String hostname, DnsRecord[] additionals, UnknownHostException cause) Implements abstract io. Doc from io. Caches a failed resolution.
| |
| convertRecord | back to summary |
|---|---|
| pack-priv InetAddress convertRecord(DnsRecord record, String hostname, DnsRecord[] additionals, EventLoop eventLoop) Implements abstract io. Doc from io. Converts the given
| |
| doSearchDomainQuery | back to summary |
|---|---|
| pack-priv void doSearchDomainQuery(String hostname, Promise<List<InetAddress>> nextPromise) Overrides io.
| |
| filterResults | back to summary |
|---|---|
| pack-priv List Implements abstract io. Doc from io. Returns a filtered list of results which should be the final result of DNS resolution. This must take into
account JDK semantics such as
| |
| isCompleteEarly | back to summary |
|---|---|
| pack-priv boolean isCompleteEarly(InetAddress resolved) Implements abstract io.
| |
| isDuplicateAllowed | back to summary |
|---|---|
| pack-priv boolean isDuplicateAllowed() Implements abstract io. Doc from io. Returns
| |
| newResolverContext | back to summary |
|---|---|
| pack-priv DnsResolveContext Implements abstract io. Doc from io. Creates a new context with the given parameters.
| |
| resolveCache | back to summary |
|---|---|
| pack-priv DnsCache resolveCache() Overrides io. Doc from io. The
| |