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 RoundRobinDnsResolver
create()
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, wait
Methods inherited from interface io.helidon.webclient.spi.DnsResolver
useDefaultJavaResolver
-
Method Details
-
create
Create new instance.- Returns:
- new instance
-
resolveAddress
Description copied from interface:DnsResolver
Resolve hostname toInetAddress
.- Specified by:
resolveAddress
in interfaceDnsResolver
- Parameters:
hostname
- hostname to resolvednsAddressLookup
- allowed version of the IP- Returns:
- resolved InetAddress instance
-