hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r536670 - in /jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/http/impl/conn: LoggingHttpDataReceiverDecorator.java LoggingHttpDataTransmitterDecorator.java
Date Wed, 09 May 2007 21:50:47 GMT
Author: olegk
Date: Wed May  9 14:50:47 2007
New Revision: 536670

URL: http://svn.apache.org/viewvc?view=rev&rev=536670
Log:
Upgraded to the latest HttpCore API (caused by HTTPCORE-21)

Modified:
    jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/http/impl/conn/LoggingHttpDataReceiverDecorator.java
    jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/http/impl/conn/LoggingHttpDataTransmitterDecorator.java

Modified: jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/http/impl/conn/LoggingHttpDataReceiverDecorator.java
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/http/impl/conn/LoggingHttpDataReceiverDecorator.java?view=diff&rev=536670&r1=536669&r2=536670
==============================================================================
--- jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/http/impl/conn/LoggingHttpDataReceiverDecorator.java
(original)
+++ jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/http/impl/conn/LoggingHttpDataReceiverDecorator.java
Wed May  9 14:50:47 2007
@@ -33,6 +33,7 @@
 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;
 
@@ -112,6 +113,10 @@
             this.wire.input(s + "[EOL]");
         }
         return l;
+    }
+
+    public HttpTransportMetrics getMetrics() {
+        return this.in.getMetrics();
     }
 
 }

Modified: jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/http/impl/conn/LoggingHttpDataTransmitterDecorator.java
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/http/impl/conn/LoggingHttpDataTransmitterDecorator.java?view=diff&rev=536670&r1=536669&r2=536670
==============================================================================
--- jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/http/impl/conn/LoggingHttpDataTransmitterDecorator.java
(original)
+++ jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/http/impl/conn/LoggingHttpDataTransmitterDecorator.java
Wed May  9 14:50:47 2007
@@ -33,6 +33,7 @@
 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;
 
@@ -104,6 +105,10 @@
         if (this.wire.enabled()) {
             this.wire.output(s + "[EOL]");
         }
+    }
+
+    public HttpTransportMetrics getMetrics() {
+        return this.out.getMetrics();
     }
     
 }



Mime
View raw message