Search

Class RESTResponse

Utility class used for HTTP server response.

Attributes

Name Type Description
contentAsString String The server's response content as a string
contentLength String The server's response content length
statusCode String The server's response status code

Methods

Name Returns
getAllHeaders() Properties
getHeaderValues(String headerName) String[]

Returned by

Method Returns
RESTHost.executeRequestWithCredentials(String method, String url, Object content, String user, String pass) RESTResponse
RESTRequest.execute() RESTResponse
RESTRequest.executeWithCredentials(String user, String pass) RESTResponse
RESTRequest.setHeader(String header, String value) RESTResponse

Referenced in

None