Package org.restlet.engine.io
Class NbChannelInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.restlet.engine.io.NbChannelInputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class NbChannelInputStream extends java.io.InputStream
Input stream connected to a non-blocking readable channel.- Author:
- Jerome Louvel
-
-
Constructor Summary
Constructors Constructor Description NbChannelInputStream(java.nio.channels.ReadableByteChannel channel)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
read()
int
read(byte[] b, int off, int len)
-