List of usage examples for org.apache.http.impl.conn LoggingOutputStream LoggingOutputStream
public LoggingOutputStream(final OutputStream out, final Wire wire)
From source file:org.apache.http.impl.conn.LoggingManagedHttpClientConnection.java
@Override protected OutputStream getSocketOutputStream(final Socket socket) throws IOException { OutputStream out = super.getSocketOutputStream(socket); if (this.wire.enabled()) { out = new LoggingOutputStream(out, this.wire); }//www.j a va2 s . c o m return out; }