cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: Turn off all timeouts with WebClient in JAX-RS
Date Mon, 31 Jan 2011 16:05:31 GMT
See

http://cxf.apache.org/docs/jax-rs-client-api.html#JAX-RSClientAPI-ConfiguringClientsatRuntime

example,

HTTPConduit conduit = WebClient.getConfig(client).getHttpConduit();
conduit.getClient().setReceiveTimeout(0);

cheers, Sergey

On Mon, Jan 31, 2011 at 4:00 PM, Benson Margulies <bimargulies@gmail.com>wrote:

> How can I use the WebClient API and crank the timeout to infinity?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message