|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.nio.ContentDecoderChannel
public class ContentDecoderChannel
A ReadableByteChannel
that delegates to a ContentDecoder
.
Attempts to close this channel are ignored, and isOpen()
always
returns true
.
Constructor Summary | |
---|---|
ContentDecoderChannel(ContentDecoder decoder)
|
Method Summary | |
---|---|
void |
close()
|
boolean |
isOpen()
|
int |
read(java.nio.ByteBuffer dst)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentDecoderChannel(ContentDecoder decoder)
Method Detail |
---|
public int read(java.nio.ByteBuffer dst) throws java.io.IOException
read
in interface java.nio.channels.ReadableByteChannel
java.io.IOException
public void close()
close
in interface java.io.Closeable
close
in interface java.nio.channels.Channel
public boolean isOpen()
isOpen
in interface java.nio.channels.Channel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |