content
getContent()
method must return the same InputStream
instance when DecompressingEntity is wrapping a streaming entity.org.apache.http.HttpEntity
DeflateDecompressingEntity
, GzipDecompressingEntity
HttpEntity
implementations.private static final int
private InputStream
getContent()
method must return the same InputStream
instance when DecompressingEntity is wrapping a streaming entity.private final InputStreamFactory
wrappedEntity
DecompressingEntity(org.apache.http.HttpEntity wrapped,
InputStreamFactory inputStreamFactory)
DecompressingEntity
.org.apache.http.Header
long
private InputStream
void
writeTo(OutputStream outStream)
consumeContent, getContentType, isChunked, isRepeatable, isStreaming
getContent()
method must return the same InputStream
instance when DecompressingEntity is wrapping a streaming entity.DecompressingEntity
.wrapped
- the non-null HttpEntity
to be wrappedinputStreamFactory
- factory to create decompressing stream.IOException
getContent
in interface org.apache.http.HttpEntity
getContent
in class org.apache.http.entity.HttpEntityWrapper
IOException
writeTo
in interface org.apache.http.HttpEntity
writeTo
in class org.apache.http.entity.HttpEntityWrapper
IOException
getContentEncoding
in interface org.apache.http.HttpEntity
getContentEncoding
in class org.apache.http.entity.HttpEntityWrapper
getContentLength
in interface org.apache.http.HttpEntity
getContentLength
in class org.apache.http.entity.HttpEntityWrapper