public class DecodedBody extends MessageBody
| Modifier and Type | Class and Description |
|---|---|
static class |
DecodedBody.Encoding |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static DecodedBody |
create(ReadableByteChannel channel,
DecodedBody.Encoding encoding) |
boolean |
isOpen() |
long |
position() |
int |
read(ByteBuffer dst) |
consume, empty, size, streamemitWarning, getErrorContext, getErrorContextpublic static DecodedBody create(ReadableByteChannel channel, DecodedBody.Encoding encoding) throws IOException
IOExceptionpublic long position()
throws IOException
position in class MessageBodyIOExceptionpublic int read(ByteBuffer dst) throws IOException
IOExceptionpublic boolean isOpen()
public void close()
throws IOException
IOExceptionCopyright © 2024. All rights reserved.