ContentListener@Deprecated public class SkipContentListener extends java.lang.Object implements ContentListener
ContentListener that reads and ignores all content.| Constructor | Description |
|---|---|
SkipContentListener(ByteBufferAllocator allocator) |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
contentAvailable(ContentDecoder decoder,
IOControl ioctrl) |
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 ioctrl) throws java.io.IOException
ContentListenercontentAvailable in interface ContentListenerdecoder - content decoder.ioctrl - I/O control of the underlying connection.java.io.IOExceptionpublic void finished()
ContentListenerfinished in interface ContentListener