public class FilterWrapperResponseStream extends ToByteResponseStream
SIZE| Constructor and Description |
|---|
FilterWrapperResponseStream() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeImpl()
Close.
|
void |
flush()
flushing
|
void |
init(CauchoResponseWrapper response) |
protected void |
writeNext(byte[] buf,
int offset,
int length,
boolean isEnd)
Writes the next chunk of data to the response stream.
|
clearBuffer, flushBuffer, flushByteBuffer, flushCharBuffer, getBuffer, getBufferLength, getBufferOffset, getBufferSize, getByteBufferOffset, getCharBuffer, getCharOffset, getContentLength, getRemaining, isCauchoResponseStream, isCharFlushing, isDisableAutoFlush, nextBuffer, nextCharBuffer, print, print, setBufferOffset, setBufferSize, setCharOffset, setEncoding, setFlush, setLocale, setOutputStreamOnly, start, write, write, writeHeadersclear, close, completeCache, flushByte, flushChar, flushNext, getByteCacheStream, getCharCacheStream, getEncoding, isAutoFlush, isCloseComplete, isClosed, isClosing, isCommitted, isHead, killCaching, sendFile, setAutoFlush, setByteCacheStream, setCauchoResponse, setCharCacheStream, setCommitted, setHead, toClosing, toStringpublic void init(CauchoResponseWrapper response)
protected void writeNext(byte[] buf,
int offset,
int length,
boolean isEnd)
throws java.io.IOException
writeNext in class ToByteResponseStreambuf - the buffer containing the dataoffset - start offset into the bufferlength - length of the data in the bufferjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class ToByteResponseStreamjava.io.IOExceptionpublic void closeImpl()
throws java.io.IOException
closeImpl in class ToByteResponseStreamjava.io.IOException