title: How do I specify a web proxy when using RestEasy client proxy?
body: <p>I am using a RestEasy ProxyFactory to connecting to a REST service.  However I need to connect via a web proxy.  How do I specify the proxy connection details?</p>
  
  <p>At the moment I am creating the instance using:</p>
  
  <pre><code>MyInterface instance = org.jboss.resteasy.client.ProxyFactory.create(MyInterface.class,url);
  instance.doStuff();
  </code></pre>
  
  <p>However, it does not connect.  </p>
  
  <p>RestEasy seems to be using Apache Commons HTTPClient under the covers, which does not allow you to specify a proxy using the standard Java System Properties.</p>