0 Replies Latest reply on May 22, 2014 4:03 PM by fuinhaazul

    Resteasy request body - How to get (client)

    fuinhaazul

      Hi there!

       

      Im fighting against a simple requirement:

       

      I need to log the resteasy request body made from the client to the server.

       

      Im doing something like this:

       

      Integration31Service test = ProxyFactory.create(Integration31Service.class, "http://test.com/test/");
      MyRequestWrapper w = new MyRequestWrapper();
      w.setValueOne(1);
      w.setValueTwo(2);
      test.callMethod(w);
      

       

       

      How can I get the JSON object generated by resteasy in this declaration?

       

      Thanks!!