Class EntityEnclosingRequestWrapper.EntityWrapper

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

    class EntityEnclosingRequestWrapper.EntityWrapper
    extends org.apache.http.entity.HttpEntityWrapper
    • Field Summary

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

        wrappedEntity
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void consumeContent()  
      java.io.InputStream getContent()  
      void writeTo​(java.io.OutputStream outStream)  
      • Methods inherited from class org.apache.http.entity.HttpEntityWrapper

        getContentEncoding, getContentLength, getContentType, isChunked, isRepeatable, isStreaming
      • Methods inherited from class java.lang.Object

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

      • EntityWrapper

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

      • consumeContent

        public void consumeContent()
                            throws java.io.IOException
        Specified by:
        consumeContent in interface org.apache.http.HttpEntity
        Overrides:
        consumeContent in class org.apache.http.entity.HttpEntityWrapper
        Throws:
        java.io.IOException
      • 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.entity.HttpEntityWrapper
        Throws:
        java.io.IOException
      • writeTo

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