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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
contentEncoder
-
-
Constructor Details
-
ContentEncoderChannel
-
-
Method Details
-
write
- Specified by:
write
in interfaceWritableByteChannel
- Throws:
IOException
-
close
public void close() -
isOpen
public boolean isOpen()
-