title: How to debug Jersey 2.x Client Api
body: <p>I need to see the content of Jerset 2.x Client API post requests before it is sent. 
  I found this:</p>
  
  <p><a href="https://stackoverflow.com/questions/7149548/jersey-api-client-webresource-how-to-debug-log-the-request-headers">jersey.api.client.WebResource - how to debug/log the request headers</a></p>
  
  <p>But its related to Jersey 1.x </p>
  
  <p>Thanks</p>