Package com.moesif.api.http.response
Class HttpStringResponse
java.lang.Object
com.moesif.api.http.response.HttpResponse
com.moesif.api.http.response.HttpStringResponse
-
Constructor Summary
ConstructorsConstructorDescriptionHttpStringResponse(int _code, Map<String, String> _headers, InputStream _rawBody, String body) -
Method Summary
Methods inherited from class com.moesif.api.http.response.HttpResponse
getHeaders, getRawBody, getStatusCode, shutdown
-
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 requestbody- The HTTP body as a string
-
-
Method Details
-
getBody
String body of the http response- Returns:
- the HTTP response body as a string
-