public class NioServletInputStream extends AbstractServletInputStream
sm| Constructor and Description |
|---|
NioServletInputStream(SocketWrapper<NioChannel> wrapper,
NioSelectorPool pool) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doClose() |
protected boolean |
doIsReady() |
protected int |
doRead(boolean block,
byte[] b,
int off,
int len)
Abstract method to be overridden by concrete implementations.
|
close, isCloseRequired, isFinished, isReady, onAllDataRead, onDataAvailable, onError, read, read, readLine, setReadListenerpublic NioServletInputStream(SocketWrapper<NioChannel> wrapper, NioSelectorPool pool)
protected boolean doIsReady()
throws java.io.IOException
doIsReady in class AbstractServletInputStreamjava.io.IOExceptionprotected int doRead(boolean block,
byte[] b,
int off,
int len)
throws java.io.IOException
AbstractServletInputStreamdoRead in class AbstractServletInputStreamjava.io.IOExceptionprotected void doClose()
throws java.io.IOException
doClose in class AbstractServletInputStreamjava.io.IOExceptionCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.