protected static class GZIPEncoding.GZIPDecompressingEntity
extends org.apache.http.entity.HttpEntityWrapper
Constructor and Description |
---|
GZIPDecompressingEntity(org.apache.http.HttpEntity entity) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getContent()
returns a
GZIPInputStream which wraps the original entity's
content stream |
long |
getContentLength() |
public GZIPDecompressingEntity(org.apache.http.HttpEntity entity)
public InputStream getContent() throws IOException, IllegalStateException
GZIPInputStream
which wraps the original entity's
content streamgetContent
in interface org.apache.http.HttpEntity
getContent
in class org.apache.http.entity.HttpEntityWrapper
IOException
IllegalStateException
HttpEntity.getContent()
public long getContentLength()
getContentLength
in interface org.apache.http.HttpEntity
getContentLength
in class org.apache.http.entity.HttpEntityWrapper
Copyright © 2010–2019. All rights reserved.