Interface ConsumingNHttpEntity

    • Method Detail

      • consumeContent

        void consumeContent​(ContentDecoder decoder,
                            IOControl ioctrl)
                     throws java.io.IOException
        Deprecated.
        Notification that content is available to be read from the decoder. IOControl instance passed as a parameter to the method can be used to suspend input events if the entity is temporarily unable to allocate more storage to accommodate all incoming content.
        Parameters:
        decoder - content decoder.
        ioctrl - I/O control of the underlying connection.
        Throws:
        java.io.IOException
      • finish

        void finish()
             throws java.io.IOException
        Deprecated.
        Notification that any resources allocated for reading can be released.
        Throws:
        java.io.IOException