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, writeHeaders
clear, close, completeCache, flushByte, flushChar, flushNext, getByteCacheStream, getCharCacheStream, getEncoding, isAutoFlush, isCloseComplete, isClosed, isClosing, isCommitted, isHead, killCaching, sendFile, setAutoFlush, setByteCacheStream, setCauchoResponse, setCharCacheStream, setCommitted, setHead, toClosing, toString
public void init(CauchoResponseWrapper response)
protected void writeNext(byte[] buf, int offset, int length, boolean isEnd) throws java.io.IOException
writeNext
in class ToByteResponseStream
buf
- the buffer containing the dataoffset
- start offset into the bufferlength
- length of the data in the bufferjava.io.IOException
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class ToByteResponseStream
java.io.IOException
public void closeImpl() throws java.io.IOException
closeImpl
in class ToByteResponseStream
java.io.IOException