Package org.apache.http.nio
Class ContentEncoderChannel
java.lang.Object
org.apache.http.nio.ContentEncoderChannel
- All Implemented Interfaces:
Closeable,AutoCloseable,Channel,WritableByteChannel
A
WritableByteChannel that delegates to a ContentEncoder.
Attempts to close this channel are ignored, and isOpen() always
returns true.- Since:
- 4.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ContentEncoderChannel
-
-
Method Details
-
write
- Specified by:
writein interfaceWritableByteChannel- Throws:
IOException
-
close
public void close() -
isOpen
public boolean isOpen()
-