Package org.apache.http.nio.entity
Interface ContentListener
-
- All Known Implementing Classes:
SkipContentListener
@Deprecated public interface ContentListener
Deprecated.(4.2)A listener for available data on a non-blockingConsumingNHttpEntity
.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
contentAvailable
void contentAvailable(ContentDecoder decoder, IOControl ioctrl) throws IOException
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.
-
-