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.| Constructor and Description |
|---|
ContentEncoderChannel(ContentEncoder contentEncoder) |
public ContentEncoderChannel(ContentEncoder contentEncoder)
public int write(ByteBuffer src) throws IOException
write in interface WritableByteChannelIOExceptionpublic void close()
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.