RESTEasy client + Fiddler

Sometimes you need to capture the Http traffic that your RESTEasy client generates for debugging purposes.

That allows you to see all actual Http headers and payloads of all requests and responses.

Fiddler + RESTEasy client

From the box Fiddler doesn’t capture RESTEasy’s traffic

Fortunatelly, this is an easy fix - set default proxy to ‘'’’’’.

    ResteasyClient httpClient = new ResteasyClientBuilder()
                                .defaultProxy("", 8888)