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 |
|---|---|
java.nio.ByteBuffer |
decode(java.nio.ByteBuffer buffer)
Decodes the bytes in the given
buffer and returns decoded bytes, if any. |