protected static class HttpClientUtil.GzipDecompressingEntity
extends org.apache.http.entity.HttpEntityWrapper
| Constructor and Description |
|---|
GzipDecompressingEntity(org.apache.http.HttpEntity entity) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getContent()
Return a InputStream of uncompressed data.
|
long |
getContentLength() |
public GzipDecompressingEntity(org.apache.http.HttpEntity entity)
public InputStream getContent() throws IOException, IllegalStateException
getContent in interface org.apache.http.HttpEntitygetContent in class org.apache.http.entity.HttpEntityWrapperIOExceptionIllegalStateExceptionpublic long getContentLength()
getContentLength in interface org.apache.http.HttpEntitygetContentLength in class org.apache.http.entity.HttpEntityWrapperCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.