Class RestClient.ContentCompressingEntity

  • All Implemented Interfaces:
    org.apache.http.HttpEntity
    Enclosing class:
    RestClient

    public static class RestClient.ContentCompressingEntity
    extends org.apache.http.client.entity.GzipCompressingEntity
    A gzip compressing entity that also implements getContent().
    • Field Summary

      • Fields inherited from class org.apache.http.entity.HttpEntityWrapper

        wrappedEntity
    • Constructor Summary

      Constructors 
      Constructor Description
      ContentCompressingEntity​(org.apache.http.HttpEntity entity)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.InputStream getContent()  
      • Methods inherited from class org.apache.http.client.entity.GzipCompressingEntity

        getContentEncoding, getContentLength, isChunked, writeTo
      • Methods inherited from class org.apache.http.entity.HttpEntityWrapper

        consumeContent, getContentType, isRepeatable, isStreaming
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContentCompressingEntity

        public ContentCompressingEntity​(org.apache.http.HttpEntity entity)
    • Method Detail

      • getContent

        public java.io.InputStream getContent()
                                       throws java.io.IOException
        Specified by:
        getContent in interface org.apache.http.HttpEntity
        Overrides:
        getContent in class org.apache.http.client.entity.GzipCompressingEntity
        Throws:
        java.io.IOException