org.openrdf.http.object.filters
Class GUnzipEntity

java.lang.Object
  extended by org.openrdf.http.object.filters.HttpEntityWrapper
      extended by org.openrdf.http.object.filters.GUnzipEntity
All Implemented Interfaces:
org.apache.http.HttpEntity, org.apache.http.nio.entity.ProducingNHttpEntity

public class GUnzipEntity
extends HttpEntityWrapper

Decompresses the message body.


Constructor Summary
GUnzipEntity(org.apache.http.HttpEntity entity)
           
 
Method Summary
 org.apache.http.Header getContentEncoding()
           
 long getContentLength()
           
protected  InputStream getDelegateContent()
           
 boolean isChunked()
           
 
Methods inherited from class org.openrdf.http.object.filters.HttpEntityWrapper
consumeContent, finish, getContent, getContentType, getEntityDelegate, isRepeatable, isStreaming, produceContent, toString, writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GUnzipEntity

public GUnzipEntity(org.apache.http.HttpEntity entity)
Method Detail

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.