Deprecated
(4.3) no longer used.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final SessionOutputBuffer | out
Original data transmitter. |
| private final Wire | wire
The wire log to use. |
| Access | Constructor and Description |
|---|---|
| public | LoggingSessionOutputBuffer(final SessionOutputBuffer
The session output buffer. out, final Wire The Wire log to use. wire, final String protocol charset, charset)ASCII if nullCreate an instance that wraps the specified session output buffer. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | flush()
Implements org. |
| public HttpTransportMetrics | getMetrics()
Implements org. HttpTransportMetrics for this session buffer.
|
| public void | write(final byte[]
the data. b, final int the start offset in the data. off, final int the number of bytes to write. len)Implements org. len bytes from the specified byte array
starting at offset off to this session buffer.
|
| public void | write(final int
the b)byte.Implements org. |
| public void | write(final byte[]
the data. b)Implements org. b.length bytes from the specified byte array
to this session buffer.
|
| public void | writeLine(final CharArrayBuffer
the buffer containing chars of the line. buffer)Implements org. |
| public void | writeLine(final String
the line. s)Implements org. |
| charset | back to summary |
|---|---|
| private final String charset | |
| out | back to summary |
|---|---|
| private final SessionOutputBuffer out Original data transmitter. | |
| wire | back to summary |
|---|---|
| private final Wire wire The wire log to use. | |
| LoggingSessionOutputBuffer | back to summary |
|---|---|
| public LoggingSessionOutputBuffer(final SessionOutputBuffer out, final Wire wire, final String charset) Create an instance that wraps the specified session output buffer.
| |
| LoggingSessionOutputBuffer | back to summary |
|---|---|
| public LoggingSessionOutputBuffer(final SessionOutputBuffer out, final Wire wire) | |
| flush | back to summary |
|---|---|
| public void flush() throws IOException Implements org. Doc from org. 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() Implements org. Doc from org. Returns
| |
| write | back to summary |
|---|---|
| public void write(final byte[] b, final int off, final int len) throws IOException Implements org. Doc from org. Writes
If
| |
| write | back to summary |
|---|---|
| public void write(final int b) throws IOException Implements org. Doc from org. Writes the specified byte to this session buffer.
| |
| write | back to summary |
|---|---|
| public void write(final byte[] b) throws IOException Implements org. Doc from org. Writes
| |
| writeLine | back to summary |
|---|---|
| public void writeLine(final CharArrayBuffer buffer) throws IOException Implements org. Doc from org. 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.
| |
| writeLine | back to summary |
|---|---|
| public void writeLine(final String s) throws IOException Implements org. Doc from org. 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.
| |