org.apache.maven.wagon.proxy
Class ProxyUtils

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

public final class ProxyUtils
extends Object

Author:
Thomas Champagne

Method Summary
static boolean validateNonProxyHosts(ProxyInfo proxy, String targetHost)
          Check if the specified host is in the list of non proxy hosts.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.