org.apache.maven.wagon.proxy
Class ProxyUtils

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

public class ProxyUtils
extends java.lang.Object

Author:
Thomas Champagne

Constructor Summary
ProxyUtils()
           
 
Method Summary
static boolean validateNonProxyHosts(ProxyInfo proxy, java.lang.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
 

Constructor Detail

ProxyUtils

public ProxyUtils()
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.


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