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.| Constructor and Description |
|---|
ContentDecoderChannel(ContentDecoder decoder) |
public ContentDecoderChannel(ContentDecoder decoder)
public int read(ByteBuffer dst) throws IOException
read in interface ReadableByteChannelIOExceptionpublic void close()
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.