Implementing classes are also expected to manage intermediate data buffering for optimal output performance.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public HttpTransportMetrics | |
| public void | write(byte[]
the data. b, int the start offset in the data. off, int the number of bytes to write. len)Writes |
| public void | |
| public void | |
| public void | |
| public void | writeLine(CharArrayBuffer
the buffer containing chars of the line. buffer)Writes characters from the specified char array followed by a line delimiter to this session buffer. |
| flush | back to summary |
|---|---|
| public void flush() throws IOException Flushes this session buffer and forces any buffered output bytes
to be written out. The general contract of
| |
| getMetrics | back to summary |
|---|---|
| public HttpTransportMetrics getMetrics() Returns
| |
| write | back to summary |
|---|---|
| public void write(byte[] b, int off, int len) throws IOException Writes
If
| |
| write | back to summary |
|---|---|
| public void write(byte[] b) throws IOException Writes
| |
| write | back to summary |
|---|---|
| public void write(int b) throws IOException Writes the specified byte to this session buffer.
| |
| writeLine | back to summary |
|---|---|
| public void writeLine(String s) throws IOException Writes characters from the specified string followed by a line delimiter to this session buffer. The choice of a char encoding and line delimiter sequence is up to the specific implementations of this interface.
| |
| writeLine | back to summary |
|---|---|
| public void writeLine(CharArrayBuffer buffer) throws IOException Writes characters from the specified char array followed by a line delimiter to this session buffer. The choice of a char encoding and line delimiter sequence is up to the specific implementations of this interface.
| |