org.apache.http.nio.ContentEncoder |
Known Indirect Subclasses |
Abstract HTTP content encoder. HTTP content encoders can be used to apply the required coding transformation and write entity content to the underlying channel in small chunks.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Terminates the content stream.
| |||||||||||
Returns
true if the entity has been transferred in its
entirety. | |||||||||||
Writes a portion of entity content to the underlying channel.
|
Terminates the content stream.
IOException | if I/O error occurs while writing content |
---|
Returns true
if the entity has been transferred in its
entirety.
true
if all the content has been produced,
false
otherwise.
Writes a portion of entity content to the underlying channel.
src | The buffer from which content is to be retrieved |
---|
IOException | if I/O error occurs while writing content |
---|