users@jersey.java.net

How to tell Client API to use HTTP Caching Proxy?

From: Markus KARG <markus.karg_at_gmx.net>
Date: Sat, 23 Aug 2008 00:15:16 +0200

How can I tell the Client API that I want to use a HTTP Caching Proxy?

Currently I am doing:

        final Client client = Client.create();
        final WebResource r =
client.resource("http://192.168.0.15:8080/JaxRsSample/sample/x.xml");

What do I have to do instead to go through the proxy 192.168.73.2:3128 ?

Thanks
Markus

-- 
http://www.xing.com/go/invita/58469