public class Nio2ServletInputStream extends AbstractServletInputStream
sm
Constructor and Description |
---|
Nio2ServletInputStream(SocketWrapper<Nio2Channel> wrapper,
AbstractEndpoint<Nio2Channel> endpoint0) |
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 Nio2ServletInputStream(SocketWrapper<Nio2Channel> wrapper, AbstractEndpoint<Nio2Channel> endpoint0)
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.