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 Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    Notification that content is available to be read from the decoder.
    void
    Deprecated.
    Notification that any resources allocated for reading can be released.
  • Method Details

    • contentAvailable

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

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