public class ContentDecoderChannel
extends java.lang.Object
implements java.nio.channels.ReadableByteChannel
ReadableByteChannel that delegates to a ContentDecoder.
Attempts to close this channel are ignored, and isOpen() always
returns true.| 构造器和说明 |
|---|
ContentDecoderChannel(ContentDecoder decoder) |
public ContentDecoderChannel(ContentDecoder decoder)
public int read(java.nio.ByteBuffer dst)
throws java.io.IOException
read 在接口中 java.nio.channels.ReadableByteChanneljava.io.IOExceptionpublic void close()
close 在接口中 java.io.Closeableclose 在接口中 java.lang.AutoCloseableclose 在接口中 java.nio.channels.Channelpublic boolean isOpen()
isOpen 在接口中 java.nio.channels.Channel