public class StreamWrapperResponseStream extends ToByteResponseStream
SIZE| Constructor and Description | 
|---|
| StreamWrapperResponseStream() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | closeImpl()Close. | 
| void | finish()Finish. | 
| void | flush()flushing | 
| void | init(java.io.OutputStream os) | 
| 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(java.io.OutputStream os)
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 finish()
            throws java.io.IOException
java.io.IOExceptionprotected void closeImpl()
                  throws java.io.IOException
closeImpl in class ToByteResponseStreamjava.io.IOException