public class ContentDecoderChannel extends Object implements ReadableByteChannel
ReadableByteChannel
that delegates to a ContentDecoder
.
Attempts to close this channel are ignored, and isOpen()
always
returns true
.Modifier and Type | Field and Description |
---|---|
private ContentDecoder |
decoder |
Constructor and Description |
---|
ContentDecoderChannel(ContentDecoder decoder) |
private final ContentDecoder decoder
public ContentDecoderChannel(ContentDecoder decoder)
public int read(ByteBuffer dst) throws IOException
read
in interface ReadableByteChannel
IOException
public void close()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses