public class ResponseWriterBuffer extends Object
Constructor and Description |
---|
ResponseWriterBuffer(Writer writer) |
Modifier and Type | Method and Description |
---|---|
void |
addToBuffer(char ch)
Add a character to the buffer, flushing the buffer if the buffer is
full, and returning the new buffer index
|
void |
addToBuffer(char[] ch) |
void |
flushBuffer()
Flush the contents of the buffer to the output stream
and return the reset buffer index
|
public ResponseWriterBuffer(Writer writer)
public void addToBuffer(char ch) throws IOException
IOException
public void addToBuffer(char[] ch) throws IOException
IOException
public void flushBuffer() throws IOException
IOException
Copyright © 2002-2018 The Apache Software Foundation. All Rights Reserved.