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:
Oleg Kalnichevski 2007-05-09 21:50:47 +00:00
parent abe4a3e9d8
commit c2bebe8f7e
2 changed files with 10 additions and 0 deletions

View File

@ -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();
}
}

View File

@ -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();
}
}