private static class JsonErrorResponseHandler.JsonContent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
jsonNode |
private com.fasterxml.jackson.databind.ObjectMapper |
mapper |
byte[] |
rawContent |
Modifier | Constructor and Description |
---|---|
private |
JsonContent(byte[] rawJsonContent,
com.fasterxml.jackson.databind.ObjectMapper mapper) |
Modifier and Type | Method and Description |
---|---|
static JsonErrorResponseHandler.JsonContent |
createJsonContent(HttpResponse httpResponse,
com.fasterxml.jackson.core.JsonFactory jsonFactory)
Static factory method to create a JsonContent object from the contents of the
HttpResponse provided
|
boolean |
isJsonValid() |
private static com.fasterxml.jackson.databind.JsonNode |
parseJsonContent(byte[] rawJsonContent,
com.fasterxml.jackson.databind.ObjectMapper mapper) |
public final byte[] rawContent
public final com.fasterxml.jackson.databind.JsonNode jsonNode
private final com.fasterxml.jackson.databind.ObjectMapper mapper
private JsonContent(byte[] rawJsonContent, com.fasterxml.jackson.databind.ObjectMapper mapper)
public static JsonErrorResponseHandler.JsonContent createJsonContent(HttpResponse httpResponse, com.fasterxml.jackson.core.JsonFactory jsonFactory)
private static com.fasterxml.jackson.databind.JsonNode parseJsonContent(byte[] rawJsonContent, com.fasterxml.jackson.databind.ObjectMapper mapper)
public boolean isJsonValid()