java.lang.Object | ||
↳ | org.apache.http.entity.HttpEntityWrapper | |
↳ | org.apache.http.nio.entity.BufferingNHttpEntity |
A ConsumingNHttpEntity
that consumes content into a buffer. The
content can be retrieved as an InputStream via
getContent()
, or written to an output stream via
writeTo(OutputStream)
.
[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.
| |||||||||||
Notification that any resources allocated for reading can be released.
| |||||||||||
Obtains entity's content as
InputStream . | |||||||||||
[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 |
---|
Notification that any resources allocated for reading can be released.
Obtains entity's content as InputStream
.
IllegalStateException | if content of the entity has not been fully received or has already been consumed. |
---|---|
IOException |