Class SkipContentListener

java.lang.Object
org.apache.http.nio.entity.SkipContentListener
All Implemented Interfaces:
ContentListener

@Deprecated public class SkipContentListener extends Object implements ContentListener
Deprecated.
(4.2)
A simple ContentListener that reads and ignores all content.
Since:
4.0
  • Field Details

    • buffer

      private final ByteBuffer buffer
      Deprecated.
  • Constructor Details

  • Method Details

    • contentAvailable

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

      public void finished()
      Deprecated.
      Description copied from interface: ContentListener
      Notification that any resources allocated for reading can be released.
      Specified by:
      finished in interface ContentListener