@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
ContentListener
contentAvailable
in interface ContentListener
decoder
- content decoder.ioctrl
- I/O control of the underlying connection.java.io.IOException
public void finished()
ContentListener
finished
in interface ContentListener