/** * Is a static proxy defined? * * @param host to check against non-proxy hosts * @return {@code true} iff a static proxy has been defined. */ protected static boolean isStaticProxy(String host){ return PROXY_DEFINED && !isNonProxy(host); }
protected static boolean isNonProxy(String host){ return nonProxyHostFull.contains(host) || isPartialMatch(host); }