java.lang.Object
com.github.nhenneaux.resilienthttpclient.singlehostclient.DnsLookupWrapper

public class DnsLookupWrapper extends Object
  • Constructor Details

    • DnsLookupWrapper

      public DnsLookupWrapper()
  • Method Details

    • getInetAddressesByDnsLookUp

      public Set<InetAddress> getInetAddressesByDnsLookUp(String hostName)
      Looks up for the IP addresses for the given host name.
      Parameters:
      hostName - the name to resolve
      Returns:
      the set of InetAddress resolved from the given name in the DNS order