org.openrdf.http.object.filters
Class GZipEntity
java.lang.Object
org.openrdf.http.object.filters.HttpEntityWrapper
org.openrdf.http.object.filters.GZipEntity
- All Implemented Interfaces:
- org.apache.http.HttpEntity, org.apache.http.nio.entity.ProducingNHttpEntity
public class GZipEntity
- extends HttpEntityWrapper
Compresses the message body.
|
Constructor Summary |
GZipEntity(org.apache.http.HttpEntity entity)
|
GZipEntity
public GZipEntity(org.apache.http.HttpEntity entity)
getDelegateContent
protected InputStream getDelegateContent()
throws IOException,
IllegalStateException
- Overrides:
getDelegateContent in class HttpEntityWrapper
- Throws:
IOException
IllegalStateException
getContentEncoding
public org.apache.http.Header getContentEncoding()
- Specified by:
getContentEncoding in interface org.apache.http.HttpEntity- Overrides:
getContentEncoding in class HttpEntityWrapper
getContentLength
public long getContentLength()
- Specified by:
getContentLength in interface org.apache.http.HttpEntity- Overrides:
getContentLength in class HttpEntityWrapper
isChunked
public boolean isChunked()
- Specified by:
isChunked in interface org.apache.http.HttpEntity- Overrides:
isChunked in class HttpEntityWrapper
Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.