code: public void setHTTPProxy(String host, int port, List<String> noProxyHosts) {
      proxyConfig = new ProxyConfig();
      proxyConfig.setProxyHost(host);
      proxyConfig.setProxyPort(port);
      if (noProxyHosts != null && noProxyHosts.size() > 0) {
        for (String noProxyHost : noProxyHosts) {
          proxyConfig.addHostsToProxyBypass(noProxyHost);
        }
      }
      getWebClient().getOptions().setProxyConfig(proxyConfig);
    }
docs: Sets HTTP proxy for WebClient with bypass proxy hosts
  
  @param host The hostname of HTTP proxy
  @param port The port of HTTP proxy, 0 means HTTP proxy w/o port
  @param noProxyHosts The list of hosts which need to bypass HTTP proxy