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 =
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