Class ProxyUtils

java.lang.Object
org.apache.maven.wagon.proxy.ProxyUtils

public final class ProxyUtils extends Object
Author:
Thomas Champagne
  • Method Details

    • validateNonProxyHosts

      public static boolean validateNonProxyHosts(ProxyInfo proxy, String targetHost)
      Check if the specified host is in the list of non proxy hosts.
      Parameters:
      proxy - the proxy info object contains set of properties.
      targetHost - the target hostname
      Returns:
      true if the hostname is in the list of non proxy hosts, false otherwise.