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
IOExceptionpublic void addToBuffer(char[] ch)
throws IOException
IOExceptionpublic void flushBuffer()
throws IOException
IOExceptionCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.