public class

LoggingSessionOutputBuffer

extends Object
implements SessionOutputBuffer
java.lang.Object
   ↳ org.apache.http.impl.conn.LoggingSessionOutputBuffer

Class Overview

Logs all data written to the wire LOG.

Summary

Public Constructors
LoggingSessionOutputBuffer(SessionOutputBuffer out, Wire wire, String charset)
Create an instance that wraps the specified session output buffer.
LoggingSessionOutputBuffer(SessionOutputBuffer out, Wire wire)
Public Methods
void flush()
HttpTransportMetrics getMetrics()
void write(byte[] b, int off, int len)
void write(byte[] b)
void write(int b)
void writeLine(CharArrayBuffer buffer)
void writeLine(String s)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.http.io.SessionOutputBuffer

Public Constructors

public LoggingSessionOutputBuffer (SessionOutputBuffer out, Wire wire, String charset)

Also: HttpClient

Create an instance that wraps the specified session output buffer.

Parameters
out The session output buffer.
wire The Wire log to use.
charset protocol charset, ASCII if null

public LoggingSessionOutputBuffer (SessionOutputBuffer out, Wire wire)

Also: HttpClient

Public Methods

public void flush ()

Also: HttpClient

Throws
IOException

public HttpTransportMetrics getMetrics ()

Also: HttpClient

public void write (byte[] b, int off, int len)

Also: HttpClient

Throws
IOException

public void write (byte[] b)

Also: HttpClient

Throws
IOException

public void write (int b)

Also: HttpClient

Throws
IOException

public void writeLine (CharArrayBuffer buffer)

Also: HttpClient

Throws
IOException

public void writeLine (String s)

Also: HttpClient

Throws
IOException