@Deprecated public class SkipContentListener extends Object implements ContentListener
ContentListener that reads and ignores all content.| Constructor and Description |
|---|
SkipContentListener(ByteBufferAllocator allocator)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
contentAvailable(ContentDecoder decoder,
IOControl ioControl)
Deprecated.
Notification that content is available to be read from the decoder.
|
void |
finished()
Deprecated.
Notification that any resources allocated for reading can be released.
|
public SkipContentListener(ByteBufferAllocator allocator)
public void contentAvailable(ContentDecoder decoder, IOControl ioControl) throws IOException
ContentListenercontentAvailable in interface ContentListenerdecoder - content decoder.ioControl - I/O control of the underlying connection.IOExceptionpublic void finished()
ContentListenerfinished in interface ContentListenerCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.