List of usage examples for org.apache.http.impl.conn LoggingInputStream LoggingInputStream
public LoggingInputStream(final InputStream in, final Wire wire)
From source file:org.apache.http.impl.conn.LoggingManagedHttpClientConnection.java
@Override protected InputStream getSocketInputStream(final Socket socket) throws IOException { InputStream in = super.getSocketInputStream(socket); if (this.wire.enabled()) { in = new LoggingInputStream(in, this.wire); }/*from w ww.ja v a2 s. c o m*/ return in; }