org.apache.http.HttpEntitypublic class ContentBufferEntity
extends org.apache.http.entity.BasicHttpEntity
ContentInputBuffer.| Constructor | Description |
|---|---|
ContentBufferEntity(org.apache.http.HttpEntity entity,
ContentInputBuffer buffer) |
Creates new instance of ContentBufferEntity.
|
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.http.Header |
getContentEncoding() |
|
long |
getContentLength() |
|
org.apache.http.Header |
getContentType() |
|
boolean |
isChunked() |
consumeContent, setChunked, setContentEncoding, setContentEncoding, setContentType, setContentType, toStringpublic 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