hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r321381 - /jakarta/httpclient/trunk/coyote-httpconnector/src/tests/tests/performance/PerformanceTest.java
Date Sat, 15 Oct 2005 17:09:48 GMT
Author: olegk
Date: Sat Oct 15 10:09:45 2005
New Revision: 321381

URL: http://svn.apache.org/viewcvs?rev=321381&view=rev
Log:
Protocol class renamed to Scheme

Modified:
    jakarta/httpclient/trunk/coyote-httpconnector/src/tests/tests/performance/PerformanceTest.java

Modified: jakarta/httpclient/trunk/coyote-httpconnector/src/tests/tests/performance/PerformanceTest.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/coyote-httpconnector/src/tests/tests/performance/PerformanceTest.java?rev=321381&r1=321380&r2=321381&view=diff
==============================================================================
--- jakarta/httpclient/trunk/coyote-httpconnector/src/tests/tests/performance/PerformanceTest.java
(original)
+++ jakarta/httpclient/trunk/coyote-httpconnector/src/tests/tests/performance/PerformanceTest.java
Sat Oct 15 10:09:45 2005
@@ -42,7 +42,7 @@
 import org.apache.http.HttpRequest;
 import org.apache.http.HttpResponse;
 import org.apache.http.HttpVersion;
-import org.apache.http.Protocol;
+import org.apache.http.Scheme;
 import org.apache.http.entity.ByteArrayEntity;
 import org.apache.http.executor.HttpRequestExecutor;
 import org.apache.http.impl.DefaultHttpClientConnection;
@@ -150,7 +150,7 @@
 		int count = Integer.parseInt(args[1]);
 		
         SocketFactory socketfactory = PlainSocketFactory.getSocketFactory();
-        Protocol http = new Protocol("http", socketfactory, 80);
+        Scheme http = new Scheme("http", socketfactory, 80);
         HttpHost host = new HttpHost("localhost", port, http);
 
         HttpRequest[] requests = generateRequests();



Mime
View raw message