| getBody |
RestResponse.getBody( ) |
Returns the response body as a string representation following a RestServices call |
| getCode |
RestResponse.getCode( ) |
Returns the HTTP response code following a RestServices call |
| getHeaders |
RestResponse.getHeaders( ) |
Returns the response headers as key-->value string pairs following a RestServices call
The key-->value pairs are returned as a JavaScript object. |
| isSuccess |
RestResponse.isSuccess( ) |
Returns whether response code is successful following a RestServices call. |
RestResponsecontains the following response information following a RestServices call:- HTTP Code - HTTP Response code return from the
- Response Headers - All the HTTP response headers as key-->value String pairs
- Body - A String representation of the response body
Contains the following methods:RestServicescall- #getCode()
- #getHeaders()
- #getBody()
- #isSuccess()
RestServices