|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.nio.entity.SkipContentListener
public class SkipContentListener
A simple ContentListener
that reads and ignores all content.
Constructor Summary | |
---|---|
SkipContentListener(ByteBufferAllocator allocator)
|
Method Summary | |
---|---|
void |
contentAvailable(ContentDecoder decoder,
IOControl ioctrl)
Notification that content is available to be read from the decoder. |
void |
finished()
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 ioctrl) throws java.io.IOException
ContentListener
contentAvailable
in interface ContentListener
java.io.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 |