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.HttpEntity
getContent
in class org.apache.http.entity.HttpEntityWrapper
IOException
IllegalStateException
public long getContentLength()
getContentLength
in interface org.apache.http.HttpEntity
getContentLength
in class org.apache.http.entity.HttpEntityWrapper
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.