public interface

ContentListener

org.apache.http.nio.entity.ContentListener
Known Indirect Subclasses

Class Overview

A listener for available data on a non-blocking ConsumingNHttpEntity.

Summary

Public Methods
abstract void contentAvailable(ContentDecoder decoder, IOControl ioctrl)
Notification that content is available to be read from the decoder.
abstract void finished()
Notification that any resources allocated for reading can be released.

Public Methods

public abstract void contentAvailable (ContentDecoder decoder, IOControl ioctrl)

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

public abstract void finished ()

Notification that any resources allocated for reading can be released.