Class DnsLookupWrapper
java.lang.Object
com.github.nhenneaux.resilienthttpclient.singlehostclient.DnsLookupWrapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInetAddressesByDnsLookUp(String hostName) Looks up for the IP addresses for the given host name.
-
Constructor Details
-
DnsLookupWrapper
public DnsLookupWrapper()
-
-
Method Details
-
getInetAddressesByDnsLookUp
Looks up for the IP addresses for the given host name.- Parameters:
hostName- the name to resolve- Returns:
- the set of
InetAddressresolved from the given name in the DNS order
-