public class DecompressingEntity
extends HttpEntityWrapper
HttpEntity implementations.| Constructor and Description |
|---|
DecompressingEntity(HttpEntity wrapped,
InputStreamFactory inputStreamFactory)
Creates a new
DecompressingEntity. |
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
getContent() |
Header |
getContentEncoding() |
long |
getContentLength() |
void |
writeTo(java.io.OutputStream outstream) |
public DecompressingEntity(HttpEntity wrapped,
InputStreamFactory inputStreamFactory)
DecompressingEntity.wrapped - the non-null HttpEntity to be wrappedinputStreamFactory - factory to create decompressing stream.public java.io.InputStream getContent()
throws java.io.IOException
java.io.IOExceptionpublic void writeTo(java.io.OutputStream outstream)
throws java.io.IOException
java.io.IOExceptionpublic Header getContentEncoding()
public long getContentLength()