Interface ContentListener

  • All Known Implementing Classes:
    SkipContentListener

    @Deprecated
    public interface ContentListener
    Deprecated.
    (4.2)
    A listener for available data on a non-blocking ConsumingNHttpEntity.
    Since:
    4.0
    • Method Detail

      • contentAvailable

        void contentAvailable​(ContentDecoder decoder,
                              IOControl ioctrl)
                       throws java.io.IOException
        Deprecated.
        Notification that content is available to be read from the decoder.
        Parameters:
        decoder - content decoder.
        ioctrl - I/O control of the underlying connection.
        Throws:
        java.io.IOException
      • finished

        void finished()
        Deprecated.
        Notification that any resources allocated for reading can be released.