Class HttpStringResponse

java.lang.Object
com.moesif.api.http.response.HttpResponse
com.moesif.api.http.response.HttpStringResponse

public class HttpStringResponse extends HttpResponse
  • Constructor Details

    • 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 Details

    • getBody

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