Uses of Interface
io.netty5.resolver.NameResolver
-
Packages that use NameResolver Package Description io.netty5.resolver Resolves an arbitrary string that represents the name of an endpoint into an address.io.netty5.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. -
-
Uses of NameResolver in io.netty5.resolver
Classes in io.netty5.resolver that implement NameResolver Modifier and Type Class Description class
CompositeNameResolver<T>
A compositeSimpleNameResolver
that resolves a host name against a sequence ofNameResolver
s.class
DefaultNameResolver
AInetNameResolver
that resolves using JDK's built-in domain name lookup mechanism.class
InetNameResolver
A skeletalNameResolver
implementation that resolvesInetAddress
.class
RoundRobinInetAddressResolver
ANameResolver
that resolvesInetAddress
and force Round Robin by choosing a single address randomly inSimpleNameResolver.resolve(String)
andSimpleNameResolver.resolve(String, Promise)
if multiple are returned by theNameResolver
.class
SimpleNameResolver<T>
A skeletalNameResolver
implementation.Constructors in io.netty5.resolver with parameters of type NameResolver Constructor Description CompositeNameResolver(EventExecutor executor, NameResolver<T>... resolvers)
InetSocketAddressResolver(EventExecutor executor, NameResolver<InetAddress> nameResolver)
RoundRobinInetAddressResolver(EventExecutor executor, NameResolver<InetAddress> nameResolver)
-
Uses of NameResolver in io.netty5.resolver.dns
Classes in io.netty5.resolver.dns that implement NameResolver Modifier and Type Class Description class
DnsNameResolver
A DNS-basedInetNameResolver
.Methods in io.netty5.resolver.dns that return NameResolver Modifier and Type Method Description protected NameResolver<InetAddress>
DnsAddressResolverGroup. newNameResolver(EventLoop eventLoop, ChannelFactory<? extends DatagramChannel> channelFactory, DnsServerAddressStreamProvider nameServerProvider)
Creates a newNameResolver
.Methods in io.netty5.resolver.dns with parameters of type NameResolver Modifier and Type Method Description protected AddressResolver<InetSocketAddress>
DnsAddressResolverGroup. newAddressResolver(EventLoop eventLoop, NameResolver<InetAddress> resolver)
Creates a newAddressResolver
.protected AddressResolver<InetSocketAddress>
RoundRobinDnsAddressResolverGroup. newAddressResolver(EventLoop eventLoop, NameResolver<InetAddress> resolver)
We need to override this method, notDnsAddressResolverGroup.newNameResolver(EventLoop, ChannelFactory, DnsServerAddressStreamProvider)
, because we need to eliminate possible caching ofresolve(java.lang.String)
byInflightNameResolver
created inDnsAddressResolverGroup.newResolver(EventLoop, ChannelFactory, DnsServerAddressStreamProvider)
.
-