org.mortbay.http
public class ChunkingOutputStream extends BufferedOutputStream implements HttpMessage.HeaderWriter
Version: $Id: ChunkingOutputStream.java,v 1.6 2004/10/19 00:27:23 gregwilkins Exp $
| Constructor Summary | |
|---|---|
| ChunkingOutputStream(OutputStream outputStream, int bufferSize, int headerReserve) Constructor. | |
| ChunkingOutputStream(OutputStream outputStream, int bufferSize, int headerReserve, boolean chunking) Constructor. | |
| Method Summary | |
|---|---|
| protected void | bypassWrite(byte[] b, int offset, int length) |
| void | close() |
| boolean | isChunking() |
| void | resetStream() |
| void | setChunking(boolean chunking) |
| protected void | wrapBuffer() |
Parameters: outputStream The outputStream to buffer or chunk to.
Parameters: outputStream The outputStream to buffer or chunk to.