public 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 class org.apache.http.entity.AbstractHttpEntitypublic long getContentLength()
getContentLength in class org.apache.http.entity.BasicHttpEntitypublic org.apache.http.Header getContentType()
getContentType in class org.apache.http.entity.AbstractHttpEntitypublic org.apache.http.Header getContentEncoding()
getContentEncoding in class org.apache.http.entity.AbstractHttpEntity