public class JsonContent extends Object
Constructor and Description |
---|
JsonContent(byte[] rawJsonContent,
com.fasterxml.jackson.databind.JsonNode jsonNode) |
Modifier and Type | Method and Description |
---|---|
static 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
|
com.fasterxml.jackson.databind.JsonNode |
getJsonNode() |
byte[] |
getRawContent() |
public JsonContent(byte[] rawJsonContent, com.fasterxml.jackson.databind.JsonNode jsonNode)
public static JsonContent createJsonContent(HttpResponse httpResponse, com.fasterxml.jackson.core.JsonFactory jsonFactory)
public byte[] getRawContent()
public com.fasterxml.jackson.databind.JsonNode getJsonNode()
Copyright © 2018. All rights reserved.