Package io.netty.resolver.dns
Class DnsResolveContext.AuthoritativeNameServerList
java.lang.Object
io.netty.resolver.dns.DnsResolveContext.AuthoritativeNameServerList
- Enclosing class:
DnsResolveContext<T>
Holds the closed DNS Servers for a domain.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void(package private) List<InetSocketAddress> Creates a newListwhich holds theInetSocketAddresses.private static voidcache(DnsResolveContext.AuthoritativeNameServer server, AuthoritativeDnsServerCache cache, EventLoop loop) private static 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.
-
Field Details
-
questionName
-
head
-
nameServerCount
private int nameServerCount
-
-
Constructor Details
-
AuthoritativeNameServerList
AuthoritativeNameServerList(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 static void cacheUnresolved(DnsResolveContext.AuthoritativeNameServer server, AuthoritativeDnsServerCache authoritativeCache, EventLoop loop) -
cache
private static void cache(DnsResolveContext.AuthoritativeNameServer server, AuthoritativeDnsServerCache cache, EventLoop loop) -
isEmpty
boolean isEmpty()Returnstrueif empty,falseotherwise. -
addressList
List<InetSocketAddress> addressList()Creates a newListwhich holds theInetSocketAddresses.
-