class ProxyHelper {

   static boolean isUseProxyByPattern( String host, String nonProxyHostsPattern )
   {
       String nonProxyHostsPatternJava = convertToJavaPattern( nonProxyHostsPattern );
       boolean useProxy = !isHostMatchesNonProxyHostsPattern( host, nonProxyHostsPatternJava );
       log.info( "isUseProxyByPattern: useProxy = {}; host = '{}'", useProxy, host );
       return useProxy;
   }

   private  ProxyHelper(  );

}