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, writeRequestpublic boolean isChunked()
isChunked in interface org.apache.http.HttpEntitypublic org.apache.http.Header getContentType()
getContentType in interface org.apache.http.HttpEntitypublic org.apache.http.Header getContentEncoding()
getContentEncoding in interface org.apache.http.HttpEntitypublic InputStream getContent() throws IOException
getContent in interface org.apache.http.HttpEntityIOExceptionpublic void writeTo(OutputStream outputStream) throws IOException
writeTo in interface org.apache.http.HttpEntityIOExceptionpublic boolean isStreaming()
isStreaming in interface org.apache.http.HttpEntitypublic void consumeContent()
consumeContent in interface org.apache.http.HttpEntityCopyright © The Apache Software Foundation. All Rights Reserved.