Package org.apache.http.nio
Class ContentDecoderChannel
java.lang.Object
org.apache.http.nio.ContentDecoderChannel
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Channel
,ReadableByteChannel
A
ReadableByteChannel
that delegates to a ContentDecoder
.
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
-
decoder
-
-
Constructor Details
-
ContentDecoderChannel
-
-
Method Details
-
read
- Specified by:
read
in interfaceReadableByteChannel
- Throws:
IOException
-
close
public void close() -
isOpen
public boolean isOpen()
-