How to retrieve the response in json for the restapi

This topic contains 1 voice and has 0 replies.

  • Author
  • #25903

    I am instrumenting the createRequest and writeResponse method of HttpFrameworkServlet of forgrock , I am able to get the json data as part of request using MessageImpl.getEntity.getJson() but in case of response the getEntity is always ” and it is not returning the response.I need to retrieve the response received for a particular endpoint but although the reponse is there I am not able to retrieve it in my code.
    Can you help with the correct method to be used to retrieve the response in json?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

©2019 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?