writing.
| Modifier and Type | Field and Description |
|---|---|
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| GZIP_CODEC | back to summary |
|---|---|
| private static final String GZIP_CODEC | |
| GzipCompressingEntity | back to summary |
|---|---|
| public GzipCompressingEntity(final HttpEntity entity) | |
| getContent | back to summary |
|---|---|
| public InputStream getContent() throws IOException Overrides org. Implements org. Doc from org. Returns a content stream of the entity.
Important Note Please note all entity implementations must ensure that
all allocated resources are properly deallocated after
the
| |
| getContentEncoding | back to summary |
|---|---|
| public Header getContentEncoding() Overrides org. Implements org. Doc from org. Obtains the Content-Encoding header, if known. This is the header that should be used when sending the entity, or the one that was received with the entity. Wrapping entities that modify the content encoding should adjust this header accordingly. | |
| getContentLength | back to summary |
|---|---|
| public long getContentLength() Overrides org. Implements org. Doc from org. Tells the length of the content, if known.
| |
| isChunked | back to summary |
|---|---|
| public boolean isChunked() Overrides org. Implements org. Doc from org. Tells about chunked encoding for this entity. The primary purpose of this method is to indicate whether chunked encoding should be used when the entity is sent. For entities that are received, it can also indicate whether the entity was received with chunked encoding. The behavior of wrapping entities is implementation dependent, but should respect the primary purpose.
| |
| writeTo | back to summary |
|---|---|
| public void writeTo(final OutputStream outStream) throws IOException Overrides org. Implements org. Doc from org. Writes the entity content out to the output stream. Important Note Please note all entity implementations must ensure that all allocated resources are properly deallocated when this method returns.
| |