In your code the Requestor page seems to be available if not then you might have got NullPointerException while trying to call getObject("pxHTTPServletResponse") on the requestor page. I doubt whether we are storing the response in the requestor page due to performance issue which might come into the picture.
If you are trying to make a request to the PRServlet and would like to see its response then probably you can see the response in the Fiddler or Network trace or may be you can enable the debug for HTTPAPI classes to see the response in the logs, will that satisfy your need?
If it doesn't satisfy your need then i would like to know your use case and what you are trying to achieve with the HTTP response, if your intention is to change the response before it is sent then it sounds like a very bad idea.
Hope this might help you.
Posted: 3 years ago
Posted: 1 Apr 2019 16:02 EDT
Nagarjun Chevula (NagarjunC3414)