Class HttpStringResponse

    • Constructor Detail

      • HttpStringResponse

        public HttpStringResponse​(int _code,
                                  Map<String,​String> _headers,
                                  InputStream _rawBody,
                                  String body)
        Parameters:
        _code - The HTTP status code
        _headers - The HTTP headers read from response
        _rawBody - The raw data returned by the HTTP request
        body - The HTTP body as a string
    • Method Detail

      • getBody

        public String getBody()
        String body of the http response
        Returns:
        the HTTP response body as a string