@Deprecated public class SkipContentListener extends java.lang.Object implements ContentListener
ContentListener that reads and ignores all content.| Modifier and Type | Field and Description |
|---|---|
private java.nio.ByteBuffer |
buffer
Deprecated.
|
| Constructor and Description |
|---|
SkipContentListener(ByteBufferAllocator allocator)
Deprecated.
|
| Modifier and Type | Method and 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