RestResponse
RestResponse: Class to represent any REST response.
Functions
Link copied to clipboard
Streams the response content.
Link copied to clipboard
JSONArray is built the first time the method is called.
Link copied to clipboard
JSONObject is built the first time the method is called.
Link copied to clipboard
Fully consume a response and swallow any exceptions thrown during the process.
Link copied to clipboard
Returns all headers associated with this response.
Link copied to clipboard
Return content type
Link copied to clipboard
Method to get the "raw" response (i.e.
Link copied to clipboard