I am using RestEasy ProxyFactory to connect to the REST service. However, I need to connect through a web proxy. How to specify proxy data?
I am currently creating an instance using:
MyInterface instance = org.jboss.resteasy.client.ProxyFactory.create(MyInterface.class,url); instance.doStuff();
However, it does not connect.
RestEasy seems to use HTTPClient Apache Commons under covers, which does not allow you to specify a proxy server using standard Java system properties.
java resteasy
Jeff james
source share