public static class DeflateEncoding.InflaterEntity
extends org.apache.http.entity.HttpEntityWrapper
Constructor and Description |
---|
InflaterEntity(org.apache.http.HttpEntity entity,
boolean useNoWrapForInflateDecoding) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getContent()
returns a
InflaterInputStream which wraps the original entity's content stream |
long |
getContentLength() |
public InflaterEntity(org.apache.http.HttpEntity entity, boolean useNoWrapForInflateDecoding)
public InputStream getContent() throws IOException, IllegalStateException
InflaterInputStream
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.