List of usage examples for org.apache.http.impl.conn LoggingSessionOutputBuffer LoggingSessionOutputBuffer
public LoggingSessionOutputBuffer(final SessionOutputBuffer out, final Wire wire, final String charset)
From source file:org.apache.http.impl.conn.DefaultClientConnection.java
@Override protected SessionOutputBuffer createSessionOutputBuffer(final Socket socket, final int buffersize, final HttpParams params) throws IOException { SessionOutputBuffer outbuffer = super.createSessionOutputBuffer(socket, buffersize > 0 ? buffersize : 8192, params);//w ww . ja v a2s . c o m if (wireLog.isDebugEnabled()) { outbuffer = new LoggingSessionOutputBuffer(outbuffer, new Wire(wireLog), HttpProtocolParams.getHttpElementCharset(params)); } return outbuffer; }