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, isFinished, isReady, onAllDataRead, onError, read, read, readLine, setReadListener
public NioServletInputStream(SocketWrapper<NioChannel> wrapper, NioSelectorPool pool)
protected boolean doIsReady() throws java.io.IOException
doIsReady
in class AbstractServletInputStream
java.io.IOException
protected int doRead(boolean block, byte[] b, int off, int len) throws java.io.IOException
AbstractServletInputStream
doRead
in class AbstractServletInputStream
java.io.IOException
protected void doClose() throws java.io.IOException
doClose
in class AbstractServletInputStream
java.io.IOException
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.