public class NioServletOutputStream extends AbstractServletOutputStream<NioChannel>
sm, socketWrapper| Constructor and Description |
|---|
NioServletOutputStream(SocketWrapper<NioChannel> socketWrapper,
int asyncWriteBufferSize,
NioSelectorPool pool) |
| 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, isCloseRequired, isReady, onError, onWritePossible, setWriteListener, write, writeprint, print, print, print, print, print, print, println, println, println, println, println, println, println, printlnflush, writepublic NioServletOutputStream(SocketWrapper<NioChannel> socketWrapper, int asyncWriteBufferSize, NioSelectorPool pool)
protected int doWrite(boolean block,
byte[] b,
int off,
int len)
throws IOException
AbstractServletOutputStreamdoWrite in class AbstractServletOutputStream<NioChannel>IOExceptionprotected void doFlush()
throws IOException
doFlush in class AbstractServletOutputStream<NioChannel>IOExceptionprotected void doClose()
throws IOException
doClose in class AbstractServletOutputStream<NioChannel>IOExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.