public class ContentBufferEntity
extends org.apache.http.entity.BasicHttpEntity
ContentInputBuffer.| Constructor and Description |
|---|
ContentBufferEntity(org.apache.http.HttpEntity entity,
ContentInputBuffer buffer)
Creates new instance of ContentBufferEntity.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.Header |
getContentEncoding() |
long |
getContentLength() |
org.apache.http.Header |
getContentType() |
boolean |
isChunked() |
getContent, isRepeatable, isStreaming, setContent, setContentLength, writeTopublic ContentBufferEntity(org.apache.http.HttpEntity entity,
ContentInputBuffer buffer)
entity - the original entity.buffer - the content buffer.public boolean isChunked()
isChunked in interface org.apache.http.HttpEntityisChunked in class org.apache.http.entity.AbstractHttpEntitypublic long getContentLength()
getContentLength in interface org.apache.http.HttpEntitygetContentLength in class org.apache.http.entity.BasicHttpEntitypublic org.apache.http.Header getContentType()
getContentType in interface org.apache.http.HttpEntitygetContentType in class org.apache.http.entity.AbstractHttpEntitypublic org.apache.http.Header getContentEncoding()
getContentEncoding in interface org.apache.http.HttpEntitygetContentEncoding in class org.apache.http.entity.AbstractHttpEntity