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 TypeMethodDescriptionvoid
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.
-
Method Details
-
contentAvailable
Deprecated.Notification that content is available to be read from the decoder.- Parameters:
decoder
- content decoder.ioControl
- I/O control of the underlying connection.- Throws:
IOException
-
finished
void finished()Deprecated.Notification that any resources allocated for reading can be released.
-