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