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:
getBodyin interfaceHttpResponse<String>- Specified by:
getBodyin classBaseResponse<String>- Returns:
- the body
-
getRawBody
- Specified by:
getRawBodyin classBaseResponse<String>
-