common/src/main/java/HTTPClient/HTTPConnection.java
/**
     * Convenience method to add a number of hosts at once. If any one
     * host is null or cannot be parsed it is ignored.
     *
     * @param hosts The list of hosts to set
     * @see #dontProxyFor(java.lang.String)
     * @since V0.3-2
     */
Convenience method to add a number of hosts at once. If any one
host is null or cannot be parsed it is ignored.

@param hosts The list of hosts to set
@see #dontProxyFor(java.lang.String)
@since V0.3-2
Convenience method to add a number of hosts at once . If any one host is null or cannot be parsed it is ignored . @param hosts The list of hosts to set @see #dontProxyFor ( java . lang . String ) @since V0 . 3 - 2
public static void dontProxyFor(String[] hosts)
    {
        if (hosts == null  ||  hosts.length == 0)
	    return;
        for (int idx=0; idx<hosts.length; idx++)
        {
            try
            {
                if (hosts[idx] != null)
                    dontProxyFor(hosts[idx]);
            }
            catch(ParseException pe)
            {
            }
        }
    }
public static void dontProxyFor ( String [ ] hosts ) { if ( hosts == null || hosts . length == 0 ) return ; for ( int idx = 0 ; idx < hosts . length ; idx ++ ) { try { if ( hosts [ idx ] != null ) dontProxyFor ( hosts [ idx ] ) ; } catch ( ParseException pe ) { } } }
Convenience method to add a number of hosts at once.
Convenience method to add a number of hosts at once .
// ignore it