Package org.apache.http.nio.entity
Interface ContentListener
- All Known Implementing Classes:
SkipContentListener
Deprecated.
(4.2)
A listener for available data on a non-blocking
ConsumingNHttpEntity.- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidcontentAvailable(ContentDecoder decoder, IOControl ioctrl) Deprecated.Notification that content is available to be read from the decoder.voidfinished()Deprecated.Notification that any resources allocated for reading can be released.
-
Method Details
-
contentAvailable
Deprecated.Notification that content is available to be read from the decoder.- Parameters:
decoder- content decoder.ioctrl- I/O control of the underlying connection.- Throws:
IOException
-
finished
void finished()Deprecated.Notification that any resources allocated for reading can be released.
-