Hi Benson
On 21/11/12 01:09, Benson Margulies wrote:
Commons HttpClient can be configured to talk through a proxy. Given a
proxy host and port, can I stuff them into a WebClient somehow?
Yes, you can configure HttpConduit in Spring [1] and then make sure the
a bus is initialized from the context, one of WebClient factory methods
accepts a context resource path, or you can load the bus explicitly
before initializing a WebClient from JAXRSClientFactoryBean
or do
WebClient.getConfig(myClient).getHttpConduit()...
HTH, Sergey
[1]
http://cxf.apache.org/docs/jax-rs-client-api.html#JAX-RSClientAPI-ConfiguringanHTTPConduitfromSpring