public class GzipHttpEntity extends Object implements org.apache.http.HttpEntity
Constructor and Description |
---|
GzipHttpEntity(org.apache.http.HttpEntity inner) |
Modifier and Type | Method and Description |
---|---|
void |
consumeContent()
Deprecated.
|
InputStream |
getContent() |
org.apache.http.Header |
getContentEncoding() |
long |
getContentLength() |
org.apache.http.Header |
getContentType() |
boolean |
isChunked() |
boolean |
isRepeatable() |
boolean |
isStreaming() |
void |
writeTo(OutputStream outstream) |
public boolean isRepeatable()
isRepeatable
in interface org.apache.http.HttpEntity
HttpEntity.isRepeatable()
public boolean isChunked()
isChunked
in interface org.apache.http.HttpEntity
HttpEntity.isChunked()
public long getContentLength()
getContentLength
in interface org.apache.http.HttpEntity
HttpEntity.getContentLength()
public org.apache.http.Header getContentType()
getContentType
in interface org.apache.http.HttpEntity
HttpEntity.getContentType()
public org.apache.http.Header getContentEncoding()
getContentEncoding
in interface org.apache.http.HttpEntity
HttpEntity.getContentEncoding()
public InputStream getContent() throws IOException, IllegalStateException
getContent
in interface org.apache.http.HttpEntity
IOException
IllegalStateException
HttpEntity.getContent()
public void writeTo(OutputStream outstream) throws IOException
writeTo
in interface org.apache.http.HttpEntity
outstream
- IOException
HttpEntity.writeTo(java.io.OutputStream)
public boolean isStreaming()
isStreaming
in interface org.apache.http.HttpEntity
HttpEntity.isStreaming()
@Deprecated public void consumeContent() throws IOException
consumeContent
in interface org.apache.http.HttpEntity
IOException
HttpEntity.consumeContent()
Copyright © 2016. All Rights Reserved.