Module io.netty5.resolver
Package io.netty5.resolver
Resolves an arbitrary string that represents the name of an endpoint into an address.
-
Interface Summary Interface Description AddressResolver<T extends SocketAddress> Resolves a possibility unresolvedSocketAddress
.HostsFileEntriesProvider.Parser HostsFileEntriesResolver Resolves a hostname against the hosts file entries.NameResolver<T> Resolves an arbitrary string that represents the name of an endpoint into an address. -
Class Summary Class Description AbstractAddressResolver<T extends SocketAddress> A skeletalAddressResolver
implementation.AddressResolverGroup<T extends SocketAddress> Creates and managesNameResolver
s so that eachEventExecutor
has its own resolver instance.CompositeNameResolver<T> A compositeSimpleNameResolver
that resolves a host name against a sequence ofNameResolver
s.DefaultAddressResolverGroup DefaultHostsFileEntriesResolver DefaultHostsFileEntriesResolver
that resolves hosts file entries only once.DefaultNameResolver AInetNameResolver
that resolves using JDK's built-in domain name lookup mechanism.HostsFileEntries A container of hosts file entries.HostsFileEntriesProvider A container of hosts file entriesHostsFileParser A parser for hosts files.InetNameResolver A skeletalNameResolver
implementation that resolvesInetAddress
.InetSocketAddressResolver AAbstractAddressResolver
that resolvesInetSocketAddress
.NoopAddressResolver AAddressResolver
that does not perform any resolution but always reports successful resolution.NoopAddressResolverGroup 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
.SimpleNameResolver<T> A skeletalNameResolver
implementation. -
Enum Summary Enum Description ResolvedAddressTypes Defined resolved address types.