|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
BasicAsyncRequestConsumer or BasicAsyncResponseConsumer
@Deprecated public interface ConsumingNHttpEntity
A non-blocking HttpEntity that allows content to be streamed from a
ContentDecoder.
| Method Summary | |
|---|---|
void |
consumeContent(ContentDecoder decoder,
IOControl ioctrl)
Deprecated. Notification that content is available to be read from the decoder. |
void |
finish()
Deprecated. Notification that any resources allocated for reading can be released. |
| Methods inherited from interface org.apache.http.HttpEntity |
|---|
consumeContent, getContent, getContentEncoding, getContentLength, getContentType, isChunked, isRepeatable, isStreaming, writeTo |
| Method Detail |
|---|
void consumeContent(ContentDecoder decoder,
IOControl ioctrl)
throws IOException
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
void finish()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||