Class DnsLookupWrapper
- java.lang.Object
-
- com.github.nhenneaux.resilienthttpclient.singlehostclient.DnsLookupWrapper
-
public class DnsLookupWrapper extends Object
-
-
Constructor Summary
Constructors Constructor Description DnsLookupWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<InetAddress>getInetAddressesByDnsLookUp(String hostName)Looks up for the IP addresses for the given host name.
-
-
-
Method Detail
-
getInetAddressesByDnsLookUp
public List<InetAddress> getInetAddressesByDnsLookUp(String hostName)
Looks up for the IP addresses for the given host name.- Parameters:
hostName- the name to resolve- Returns:
- the list of
InetAddressresolved from the given name
-
-