Package org.apache.maven.wagon.proxy
Class ProxyUtils
- java.lang.Object
-
- org.apache.maven.wagon.proxy.ProxyUtils
-
public final class ProxyUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ProxyUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
validateNonProxyHosts(ProxyInfo proxy, java.lang.String targetHost)
Check if the specified host is in the list of non proxy hosts.
-
-
-
Method Detail
-
validateNonProxyHosts
public static boolean validateNonProxyHosts(ProxyInfo proxy, java.lang.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.
-
-