public class GzipDecompressingEntity
extends org.apache.http.entity.HttpEntityWrapper
Modifier and Type | Class and Description |
---|---|
private static class |
GzipDecompressingEntity.Resources |
Modifier and Type | Field and Description |
---|---|
private GzipDecompressingEntity.Resources |
resources |
Constructor and Description |
---|
GzipDecompressingEntity(org.apache.http.HttpEntity entity) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getContent() |
long |
getContentLength() |
void |
writeTo(OutputStream outstream) |
private final GzipDecompressingEntity.Resources resources
public GzipDecompressingEntity(org.apache.http.HttpEntity entity) throws IllegalStateException, IOException
IllegalStateException
IOException
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
public void writeTo(OutputStream outstream) throws IOException
writeTo
in interface org.apache.http.HttpEntity
writeTo
in class org.apache.http.entity.HttpEntityWrapper
IOException
Copyright © 2017. All rights reserved.