Hi
You can pass WebTarget or InvocationBuilder (they wrap WebClient) to
WebClient.getConfig.
FYI, a different approach was also described:
http://cxf.547215.n5.nabble.com/HttpConduit-for-WebTarget-td5773080.html#a5773086,
Cheers, Sergey
On 27/09/16 15:45, venkatesham nalla wrote:
Hi,
How to convert the Client object created using ClientBuilder.newClient() to
WebClient or org.apache.cxf.jaxrs.client.Client?
thanks,
Venkat
________________________________
From: Sergey Beryozkin <[email protected]>
Sent: Monday, September 26, 2016 9:20 PM
To: [email protected]
Subject: Re: How to enable/disable transfer-encoding: chunked in jax-rs?
Hi
For the client you can do WebClient.getConfig(client),getHttpConduit and
configure it as needed, while on the server you'd likely need to
configure the underlying container
Sergey
On 26/09/16 15:58, venkatesham nalla wrote:
Hi,
How to enable/disable transfer-encoding: chunked in JAX-RS server and client
without using spring xml configuration ?
thanks,
Venkat
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Latest Activity | Talend Community Coders<http://coders.talend.com/>
coders.talend.com
Talend Community Coders. At Talend, we contribute to open source projects
because they challenge us with new ideas and keep us sharp. We also do it
because it's the ...