Class RoundRobinDnsResolver
java.lang.Object
io.helidon.webclient.dns.resolver.roundrobin.RoundRobinDnsResolver
- All Implemented Interfaces:
DnsResolver
Round-robin DNS resolver implementation.
-
Method Summary
Modifier and TypeMethodDescriptionstatic RoundRobinDnsResolvercreate()Create new instance.resolveAddress(String hostname, DnsAddressLookup dnsAddressLookup) Resolve hostname toInetAddress.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.webclient.spi.DnsResolver
useDefaultJavaResolver
-
Method Details
-
create
Create new instance.- Returns:
- new instance
-
resolveAddress
Description copied from interface:DnsResolverResolve hostname toInetAddress.- Specified by:
resolveAddressin interfaceDnsResolver- Parameters:
hostname- hostname to resolvednsAddressLookup- allowed version of the IP- Returns:
- resolved InetAddress instance
-