|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentDecoder
Abstract HTTP content decoder. HTTP content decoders can be used to read entity content from the underlying channel in small chunks and apply the required coding transformation.
Method Summary | |
---|---|
boolean |
isCompleted()
Returns true if the entity has been received in its
entirety. |
int |
read(ByteBuffer dst)
Reads a portion of content from the underlying channel |
Method Detail |
---|
int read(ByteBuffer dst) throws IOException
dst
- The buffer into which entity content is to be transferred
IOException
- if I/O error occurs while reading contentboolean isCompleted()
true
if the entity has been received in its
entirety.
true
if all the content has been consumed,
false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |