code: private String ipAddressFromURL(String url, String name) {
      String ipAddr = null;
  
      if (_urlValidator.isValid(url)) {
        WebTarget resolver = ClientBuilder.newClient().target(url);
        try {
          ipAddr = resolver.request().get(String.class);
        } catch (Exception e) {
          warn("URL Cannot Resolve for resolveIP named [" + name + "]. The requested URL is invalid  [" + url + "].");
        }
      } else {
        warn("The requested URL for resolveIP named [" + name + "] is invalid  [" + url + "].");
      }
      return ipAddr;
    }
docs: Resolve the IP address from a URL.
  
  @param url and URL that will return an IP address
  @param name the name of the variable
  @return the result from the HTTP GET operations or null of an error