title: Using web proxy with Java 8 JAX-RS RESTEasy clients
body: <p>I can't seem to get JAX-RS clients to use a web proxy on Java 8. I'm using RESTEasy 3.0.10.Final, and running from inside Eclipse 4.4.2 on Windows 7 Professional 64-bit.</p>
  
  <p>I set up a FreeProxy server on <code>localhost</code> running at <code>192.168.1.123:3128</code>. I turn logs on and telnet to 192.168.1.123 3128 and issue a manual <code>GET</code>. The request shows up in the logs.</p>
  
  <p>I then fire up my Java application, setting <code>http.proxyHost=192.168.1.123</code> and <code>http.proxyPort=3128</code> in the system properties. (I've even tried it using <code>-D</code> when starting the JVM.) (Note that I wouldn't expect the <a href="http://java.dzone.com/articles/proxying-request-localhost"><code>localhost</code> problem</a> to come into play, as I'm connecting to an actual IP address, not to <code>localhost</code>.)</p>
  
  <p>I create a JAX-RS client using <code>ClientBuilder.newBuilder().build()</code> and perform a <code>GET</code> to a resource. Nothing shows up in the FreeProxy logs.</p>
  
  <p>What do I have to do in order to get JAX-RS clients to use a proxy?</p>