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, isReady, onError, setWriteListener, write, write
public NioServletOutputStream(SocketWrapper<NioChannel> socketWrapper, int asyncWriteBufferSize, NioSelectorPool pool)
protected int doWrite(boolean block, byte[] b, int off, int len) throws java.io.IOException
AbstractServletOutputStream
doWrite
in class AbstractServletOutputStream<NioChannel>
java.io.IOException
protected void doFlush() throws java.io.IOException
doFlush
in class AbstractServletOutputStream<NioChannel>
java.io.IOException
protected void doClose() throws java.io.IOException
doClose
in class AbstractServletOutputStream<NioChannel>
java.io.IOException
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.