title: Print JSON requests/responses for each JAX-RS service
body: <p>I have some JAX-RS web services with method signatures like below. Is it possible to print out the raw JSON requests coming from the clients and raw JSON response returned to the clients?</p>
  
  <pre><code>@POST
  @Consumes(MediaType.APPLICATION_JSON)
  @Produces(MediaType.APPLICATION_JSON)
  public Response XXX(@Context HttpServletRequest request, Parameters requestParameters) {
      ...
  }
  </code></pre>
  
  <p>Thanks in advance.</p>