public class RESTRequestEntity2Impl extends RESTRequestEntity2 implements org.apache.http.HttpEntity
Constructor and Description |
---|
RESTRequestEntity2Impl(String postRequestBody,
String contentType) |
Modifier and Type | Method and Description |
---|---|
void |
consumeContent() |
InputStream |
getContent() |
org.apache.http.Header |
getContentEncoding() |
org.apache.http.Header |
getContentType() |
boolean |
isChunked() |
boolean |
isStreaming() |
void |
writeTo(OutputStream outputStream) |
getContentLength, getContentTypeAsString, getPostRequestBody, getRequestEntityContent, isRepeatable, setContentType, setPostRequestBody, writeRequest
public boolean isChunked()
isChunked
in interface org.apache.http.HttpEntity
public org.apache.http.Header getContentType()
getContentType
in interface org.apache.http.HttpEntity
public org.apache.http.Header getContentEncoding()
getContentEncoding
in interface org.apache.http.HttpEntity
public InputStream getContent() throws IOException
getContent
in interface org.apache.http.HttpEntity
IOException
public void writeTo(OutputStream outputStream) throws IOException
writeTo
in interface org.apache.http.HttpEntity
IOException
public boolean isStreaming()
isStreaming
in interface org.apache.http.HttpEntity
public void consumeContent()
consumeContent
in interface org.apache.http.HttpEntity
Copyright © The Apache Software Foundation. All Rights Reserved.