- All Known Subinterfaces:
- All Known Implementing Classes:
public interface ContentDecoderAbstract 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.
int read(ByteBuffer dst) throws IOExceptionReads a portion of content from the underlying channel
dst- The buffer into which entity content is to be transferred
- The number of bytes read, possibly zero, or -1 if the channel has reached end-of-stream
IOException- if I/O error occurs while reading content
trueif the entity has been received in its entirety.
trueif all the content has been consumed,