public class JsonHttpEntity
extends org.apache.http.entity.AbstractHttpEntity
Constructor and Description |
---|
JsonHttpEntity(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
com.fasterxml.jackson.databind.JsonNode node) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getContent() |
long |
getContentLength() |
org.apache.http.Header |
getContentType() |
boolean |
isRepeatable() |
boolean |
isStreaming() |
void |
writeTo(OutputStream outStream) |
public JsonHttpEntity(com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.fasterxml.jackson.databind.JsonNode node)
public org.apache.http.Header getContentType()
getContentType
in interface org.apache.http.HttpEntity
getContentType
in class org.apache.http.entity.AbstractHttpEntity
public boolean isRepeatable()
public long getContentLength()
public InputStream getContent()
public void writeTo(OutputStream outStream) throws IOException
IOException
public boolean isStreaming()
Copyright © 2025. All rights reserved.