public interface ContentDecoder
Modifier and Type | Method and Description |
---|---|
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
|
int read(ByteBuffer dst) throws IOException
dst
- The buffer into which entity content is to be transferredIOException
- 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.Copyright © 2010 - 2020 Adobe. All Rights Reserved