public class ContentBufferEntity extends BasicHttpEntity
ContentInputBuffer.chunked, contentEncoding, contentType, OUTPUT_BUFFER_SIZE| Constructor and Description |
|---|
ContentBufferEntity(HttpEntity entity,
ContentInputBuffer buffer)
Creates new instance of ContentBufferEntity.
|
| Modifier and Type | Method and Description |
|---|---|
Header |
getContentEncoding() |
long |
getContentLength() |
Header |
getContentType() |
boolean |
isChunked() |
getContent, isRepeatable, isStreaming, setContent, setContentLength, writeToconsumeContent, setChunked, setContentEncoding, setContentEncoding, setContentType, setContentType, toStringpublic ContentBufferEntity(HttpEntity entity, ContentInputBuffer buffer)
entity - the original entity.buffer - the content buffer.public boolean isChunked()
isChunked in interface HttpEntityisChunked in class AbstractHttpEntitypublic long getContentLength()
getContentLength in interface HttpEntitygetContentLength in class BasicHttpEntitypublic Header getContentType()
getContentType in interface HttpEntitygetContentType in class AbstractHttpEntitypublic Header getContentEncoding()
getContentEncoding in interface HttpEntitygetContentEncoding in class AbstractHttpEntityCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.