java.lang.Object | ||
↳ | org.apache.http.entity.HttpEntityWrapper | |
↳ | org.apache.http.nio.entity.ConsumingNHttpEntityTemplate |
A ConsumingNHttpEntity
that forwards available content to a
ContentListener
.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.http.entity.HttpEntityWrapper
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Notification that content is available to be read from the decoder.
| |||||||||||
This method is equivalent to the
finish() method. | |||||||||||
Notification that any resources allocated for reading can be released.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.http.entity.HttpEntityWrapper
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.apache.http.HttpEntity
| |||||||||||
From interface
org.apache.http.nio.entity.ConsumingNHttpEntity
|
Notification that content is available to be read from the decoder.
IOControl
instance passed as a parameter to the method can be
used to suspend input events if the entity is temporarily unable to
allocate more storage to accommodate all incoming content.
decoder | content decoder. |
---|---|
ioctrl | I/O control of the underlying connection. |
IOException |
---|
This method is equivalent to the finish()
method.
TODO: The name of this method is misnomer. It will be renamed to
#finish() in the next major release.
IOException |
---|
Notification that any resources allocated for reading can be released.