public static class DeflateEncoding.InflaterEntity
extends org.apache.http.entity.HttpEntityWrapper
| Constructor and Description |
|---|
DeflateEncoding.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 DeflateEncoding.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.HttpEntitygetContent in class org.apache.http.entity.HttpEntityWrapperIOExceptionIllegalStateExceptionHttpEntity.getContent()public long getContentLength()
getContentLength in interface org.apache.http.HttpEntitygetContentLength in class org.apache.http.entity.HttpEntityWrapperCopyright © 2010–2014. All rights reserved.