Hi all, I new to this forum... so dont know if this is right place to post this question... However...
I have a problem but cant fine the solution, so I thought I would ask you.
I am using ResteasyProviderFactory, ProxyFactory and ClientResponse to send & receive my request to the server from my test code like as follows.
ResteasyProviderFactory instance = ResteasyProviderFactory.getInstance(); RegisterBuiltin.register(instance); client = ProxyFactory.create(ISomeInterface.class, "http://localhost:8080/myresource/"); ClientResponse<ResponseContent> resp = (ClientResponse< ResponseContent >) client.getResponse("param"); String authHeader = resp.getHeaders().get("Authorization");