hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r404814 - in /jakarta/httpcomponents/httpclient/trunk/src: java/org/apache/httpclient/impl/DefaultResponseConsumedWatcher.java test/org/apache/httpclient/impl/TestDefaultResponseConsumedWatcher.java
Date Sun, 07 May 2006 18:34:38 GMT
Author: olegk
Date: Sun May  7 11:34:37 2006
New Revision: 404814

URL: http://svn.apache.org/viewcvs?rev=404814&view=rev
Log:
Synched with the latest HttpCore API snapshot

Modified:
    jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/httpclient/impl/DefaultResponseConsumedWatcher.java
    jakarta/httpcomponents/httpclient/trunk/src/test/org/apache/httpclient/impl/TestDefaultResponseConsumedWatcher.java

Modified: jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/httpclient/impl/DefaultResponseConsumedWatcher.java
URL: http://svn.apache.org/viewcvs/jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/httpclient/impl/DefaultResponseConsumedWatcher.java?rev=404814&r1=404813&r2=404814&view=diff
==============================================================================
--- jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/httpclient/impl/DefaultResponseConsumedWatcher.java
(original)
+++ jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/httpclient/impl/DefaultResponseConsumedWatcher.java
Sun May  7 11:34:37 2006
@@ -31,9 +31,9 @@
 
 import java.io.IOException;
 
+import org.apache.http.ConnectionReuseStrategy;
 import org.apache.http.HttpConnection;
 import org.apache.http.HttpResponse;
-import org.apache.http.impl.ConnectionReuseStrategy;
 import org.apache.http.impl.DefaultConnectionReuseStrategy;
 
 /**

Modified: jakarta/httpcomponents/httpclient/trunk/src/test/org/apache/httpclient/impl/TestDefaultResponseConsumedWatcher.java
URL: http://svn.apache.org/viewcvs/jakarta/httpcomponents/httpclient/trunk/src/test/org/apache/httpclient/impl/TestDefaultResponseConsumedWatcher.java?rev=404814&r1=404813&r2=404814&view=diff
==============================================================================
--- jakarta/httpcomponents/httpclient/trunk/src/test/org/apache/httpclient/impl/TestDefaultResponseConsumedWatcher.java
(original)
+++ jakarta/httpcomponents/httpclient/trunk/src/test/org/apache/httpclient/impl/TestDefaultResponseConsumedWatcher.java
Sun May  7 11:34:37 2006
@@ -32,7 +32,7 @@
 
 import org.apache.http.Header;
 import org.apache.http.HttpConnection;
-import org.apache.http.HttpMutableResponse;
+import org.apache.http.HttpResponse;
 import org.apache.http.HttpVersion;
 import org.apache.http.StatusLine;
 import org.apache.http.entity.BasicHttpEntity;
@@ -87,7 +87,7 @@
         entity.setContent(new ByteArrayInputStream(data));
         
         StatusLine statusline = new StatusLine(HttpVersion.HTTP_1_0, 200, "OK");
-        HttpMutableResponse response = new BasicHttpResponse(statusline);
+        HttpResponse response = new BasicHttpResponse(statusline);
         response.setHeader(new Header("Connection", "Close"));
         response.setParams(new DefaultHttpParams(null));
         response.setEntity(entity);
@@ -110,7 +110,7 @@
         entity.setContent(new ByteArrayInputStream(data));
         
         StatusLine statusline = new StatusLine(HttpVersion.HTTP_1_1, 200, "OK");
-        HttpMutableResponse response = new BasicHttpResponse(statusline);
+        HttpResponse response = new BasicHttpResponse(statusline);
         response.setHeader(new Header("Connection", "Keep-alive"));
         response.setParams(new DefaultHttpParams(null));
         response.setEntity(entity);



Mime
View raw message