Package kong.unirest.core
Class StringResponse
- All Implemented Interfaces:
HttpResponse<String>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class kong.unirest.core.BaseResponse
getCookies, getHeaders, getParsingError, getRequestSummary, getStatus, getStatusText, ifFailure, ifFailure, ifSuccess, isSuccess, map, mapBody, mapError, setParsingException
-
Field Details
-
body
-
-
Constructor Details
-
StringResponse
-
-
Method Details
-
getBody
- Specified by:
getBody
in interfaceHttpResponse<String>
- Specified by:
getBody
in classBaseResponse<String>
- Returns:
- the body
-
getRawBody
- Specified by:
getRawBody
in classBaseResponse<String>
-