Class DecompressingEntity

    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.io.InputStream getContent()
      Deprecated.
       
      java.lang.String getContentEncoding()
      Deprecated.
       
      long getContentLength()
      Deprecated.
       
      void writeTo​(java.io.OutputStream outStream)
      Deprecated.
       
      • Methods inherited from class org.apache.hc.core5.http.io.entity.HttpEntityWrapper

        close, getContentType, getTrailerNames, getTrailers, isChunked, isRepeatable, isStreaming, toString
      • Methods inherited from class java.lang.Object

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

      • DecompressingEntity

        public DecompressingEntity​(org.apache.hc.core5.http.HttpEntity wrapped,
                                   InputStreamFactory inputStreamFactory)
        Deprecated.
        Constructs a new DecompressingEntity.
        Parameters:
        wrapped - the non-null HttpEntity to be wrapped
        inputStreamFactory - factory to create decompressing stream.
    • Method Detail

      • getContent

        public java.io.InputStream getContent()
                                       throws java.io.IOException
        Deprecated.
        Specified by:
        getContent in interface org.apache.hc.core5.http.HttpEntity
        Overrides:
        getContent in class org.apache.hc.core5.http.io.entity.HttpEntityWrapper
        Throws:
        java.io.IOException
      • writeTo

        public void writeTo​(java.io.OutputStream outStream)
                     throws java.io.IOException
        Deprecated.
        Specified by:
        writeTo in interface org.apache.hc.core5.http.HttpEntity
        Overrides:
        writeTo in class org.apache.hc.core5.http.io.entity.HttpEntityWrapper
        Throws:
        java.io.IOException
      • getContentEncoding

        public java.lang.String getContentEncoding()
        Deprecated.
        Specified by:
        getContentEncoding in interface org.apache.hc.core5.http.EntityDetails
        Overrides:
        getContentEncoding in class org.apache.hc.core5.http.io.entity.HttpEntityWrapper
      • getContentLength

        public long getContentLength()
        Deprecated.
        Specified by:
        getContentLength in interface org.apache.hc.core5.http.EntityDetails
        Overrides:
        getContentLength in class org.apache.hc.core5.http.io.entity.HttpEntityWrapper