Class DnsResolveContext.AuthoritativeNameServerList
java.lang.Object
io.netty.resolver.dns.DnsResolveContext.AuthoritativeNameServerList
- Enclosing class:
DnsResolveContext<T>
private static final class DnsResolveContext.AuthoritativeNameServerList
extends java.lang.Object
Holds the closed DNS Servers for a domain.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate final java.lang.String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void(package private) java.util.List<java.net.InetSocketAddress> Creates a newListwhich holds theInetSocketAddresses.private voidcache(DnsResolveContext.AuthoritativeNameServer server, AuthoritativeDnsServerCache cache, EventLoop loop) private voidcacheUnresolved(DnsResolveContext.AuthoritativeNameServer server, AuthoritativeDnsServerCache authoritativeCache, EventLoop loop) (package private) voidhandleWithAdditional(DnsNameResolver parent, DnsRecord r, AuthoritativeDnsServerCache authoritativeCache) (package private) voidhandleWithoutAdditionals(DnsNameResolver parent, DnsCache cache, AuthoritativeDnsServerCache authoritativeCache) (package private) booleanisEmpty()Returnstrueif empty,falseotherwise.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
questionName
private final java.lang.String questionName -
head
-
nameServerCount
private int nameServerCount
-
-
Constructor Details
-
AuthoritativeNameServerList
AuthoritativeNameServerList(java.lang.String questionName)
-
-
Method Details
-
add
-
handleWithAdditional
void handleWithAdditional(DnsNameResolver parent, DnsRecord r, AuthoritativeDnsServerCache authoritativeCache) -
handleWithoutAdditionals
void handleWithoutAdditionals(DnsNameResolver parent, DnsCache cache, AuthoritativeDnsServerCache authoritativeCache) -
cacheUnresolved
private void cacheUnresolved(DnsResolveContext.AuthoritativeNameServer server, AuthoritativeDnsServerCache authoritativeCache, EventLoop loop) -
cache
private void cache(DnsResolveContext.AuthoritativeNameServer server, AuthoritativeDnsServerCache cache, EventLoop loop) -
isEmpty
boolean isEmpty()Returnstrueif empty,falseotherwise. -
addressList
java.util.List<java.net.InetSocketAddress> addressList()Creates a newListwhich holds theInetSocketAddresses.
-