code: protected HTTPResponse createHTTPResponse(int statusCode,String responseContent)
      {
          //create HTTP response
          HTTPResponse httpResponse=new HTTPResponse();
          httpResponse.setStatusCode(statusCode);
          httpResponse.setContent(responseContent);
  
          return httpResponse;
      }
docs: This function creates and returns the HTTP response object.
  
  @param   statusCode
  The HTTP response status code
  @param   responseContent
  The response content as string
  @return  The HTTP response object