Re: [Resteasy-users] Set http headers per request on client side proxy

2015-03-14 Thread Ron Sigal
Hi Veit, One option is to install a ClientRequestFilter, which can access request headers before a request is sent. For example,, static class TestRequestFilter implements ClientRequestFilter { String value; public void setValue(String value) { this.value =

[Resteasy-users] Set http headers per request on client side proxy

2015-01-17 Thread Veit Guna
Hi. How can I set http headers when invoking methods on the client side proxy? I'm aware that I can e.g. set credentials on the underlying HttpClient. I do that once before creating the proxy. But when using the proxy, I have to change some http headers on every request as well. So, what's the