public interface ContentDecoder
ContentDecoder decodes content bytes of a response.ContentDecoder.Factory| Modifier and Type | Interface and Description |
|---|---|
static class |
ContentDecoder.Factory
Factory for
ContentDecoders; subclasses must implement ContentDecoder.Factory.newContentDecoder(). |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
decode(ByteBuffer buffer)
Decodes the bytes in the given
buffer and returns decoded bytes, if any. |
ByteBuffer decode(ByteBuffer buffer)
Decodes the bytes in the given buffer and returns decoded bytes, if any.
buffer - the buffer containing encoded bytesCopyright © 1995-2015 Webtide. All Rights Reserved.