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