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, setReadListener
available, mark, markSupported, read, reset, skip
public NioServletInputStream(SocketWrapper<NioChannel> wrapper, NioSelectorPool pool)
protected boolean doIsReady() throws IOException
doIsReady
in class AbstractServletInputStream
IOException
protected int doRead(boolean block, byte[] b, int off, int len) throws IOException
AbstractServletInputStream
doRead
in class AbstractServletInputStream
IOException
protected void doClose() throws IOException
doClose
in class AbstractServletInputStream
IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.