Package kong.unirest.core
Class JsonResponse
- All Implemented Interfaces:
HttpResponse<JsonNode>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBody()private JsonNodegetNode(RawResponse response) protected Stringprivate JsonNodetoJsonNode(String json) Methods inherited from class kong.unirest.core.BaseResponse
getCookies, getHeaders, getParsingError, getRequestSummary, getStatus, getStatusText, ifFailure, ifFailure, ifSuccess, isSuccess, map, mapBody, mapError, setParsingException
-
Field Details
-
node
-
-
Constructor Details
-
JsonResponse
-
-
Method Details
-
getNode
-
toJsonNode
-
getBody
- Specified by:
getBodyin interfaceHttpResponse<JsonNode>- Specified by:
getBodyin classBaseResponse<JsonNode>- Returns:
- the body
-
getRawBody
- Specified by:
getRawBodyin classBaseResponse<JsonNode>
-