|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.http.nio.entity.SkipContentListener
@Deprecated public class SkipContentListener
A simple ContentListener
that reads and ignores all content.
Constructor Summary | |
---|---|
SkipContentListener(ByteBufferAllocator allocator)
Deprecated. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SkipContentListener(ByteBufferAllocator allocator)
Method Detail |
---|
public void contentAvailable(ContentDecoder decoder, IOControl ioControl) throws IOException
ContentListener
contentAvailable
in interface ContentListener
decoder
- content decoder.ioControl
- I/O control of the underlying connection.
IOException
public void finished()
ContentListener
finished
in interface ContentListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |