Class SkipContentListener

  • All Implemented Interfaces:
    ContentListener

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

      • SkipContentListener

        public SkipContentListener​(ByteBufferAllocator allocator)
        Deprecated.
    • Method Detail

      • contentAvailable

        public void contentAvailable​(ContentDecoder decoder,
                                     IOControl ioctrl)
                              throws java.io.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.
        ioctrl - I/O control of the underlying connection.
        Throws:
        java.io.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