Class ProxyUtils


  • public final class ProxyUtils
    extends java.lang.Object
    Author:
    Thomas Champagne
    • 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.
      • 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,
                                                    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.