public class Nio2ServletOutputStream extends AbstractServletOutputStream<Nio2Channel>
sm, socketWrapper| Constructor and Description |
|---|
Nio2ServletOutputStream(SocketWrapper<Nio2Channel> socketWrapper0,
int asyncWriteBufferSize,
AbstractEndpoint<Nio2Channel> endpoint0) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doClose() |
protected void |
doFlush() |
protected int |
doWrite(boolean block,
byte[] b,
int off,
int len)
Abstract method to be overridden by concrete implementations.
|
close, isReady, onError, setWriteListener, write, writepublic Nio2ServletOutputStream(SocketWrapper<Nio2Channel> socketWrapper0, int asyncWriteBufferSize, AbstractEndpoint<Nio2Channel> endpoint0)
protected int doWrite(boolean block,
byte[] b,
int off,
int len)
throws java.io.IOException
AbstractServletOutputStreamdoWrite in class AbstractServletOutputStream<Nio2Channel>java.io.IOExceptionprotected void doFlush()
throws java.io.IOException
doFlush in class AbstractServletOutputStream<Nio2Channel>java.io.IOExceptionprotected void doClose()
throws java.io.IOException
doClose in class AbstractServletOutputStream<Nio2Channel>java.io.IOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.