Upgraded to the latest HttpCore API (caused by HTTPCORE-21)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@536670 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
abe4a3e9d8
commit
c2bebe8f7e
|
@ -33,6 +33,7 @@ package org.apache.http.impl.conn;
|
|||
import java.io.IOException;
|
||||
|
||||
import org.apache.http.io.HttpDataReceiver;
|
||||
import org.apache.http.io.HttpTransportMetrics;
|
||||
import org.apache.http.params.HttpParams;
|
||||
import org.apache.http.util.CharArrayBuffer;
|
||||
|
||||
|
@ -114,4 +115,8 @@ class LoggingHttpDataReceiverDecorator implements HttpDataReceiver {
|
|||
return l;
|
||||
}
|
||||
|
||||
public HttpTransportMetrics getMetrics() {
|
||||
return this.in.getMetrics();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -33,6 +33,7 @@ package org.apache.http.impl.conn;
|
|||
import java.io.IOException;
|
||||
|
||||
import org.apache.http.io.HttpDataTransmitter;
|
||||
import org.apache.http.io.HttpTransportMetrics;
|
||||
import org.apache.http.params.HttpParams;
|
||||
import org.apache.http.util.CharArrayBuffer;
|
||||
|
||||
|
@ -105,5 +106,9 @@ class LoggingHttpDataTransmitterDecorator implements HttpDataTransmitter {
|
|||
this.wire.output(s + "[EOL]");
|
||||
}
|
||||
}
|
||||
|
||||
public HttpTransportMetrics getMetrics() {
|
||||
return this.out.getMetrics();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue