hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r314980 - in /jakarta/httpclient/trunk/coyote-httpconnector/src: java/org/apache/http/coyote/impl/HttpConnectionProcessor.java tests/tests/performance/PerformanceTest.java
Date Wed, 12 Oct 2005 18:01:33 GMT
Author: olegk
Date: Wed Oct 12 11:01:26 2005
New Revision: 314980

URL: http://svn.apache.org/viewcvs?rev=314980&view=rev
Log:
Simpler names for standard HTTP GET and POST classes

Modified:
    jakarta/httpclient/trunk/coyote-httpconnector/src/java/org/apache/http/coyote/impl/HttpConnectionProcessor.java
    jakarta/httpclient/trunk/coyote-httpconnector/src/tests/tests/performance/PerformanceTest.java

Modified: jakarta/httpclient/trunk/coyote-httpconnector/src/java/org/apache/http/coyote/impl/HttpConnectionProcessor.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/coyote-httpconnector/src/java/org/apache/http/coyote/impl/HttpConnectionProcessor.java?rev=314980&r1=314979&r2=314980&view=diff
==============================================================================
--- jakarta/httpclient/trunk/coyote-httpconnector/src/java/org/apache/http/coyote/impl/HttpConnectionProcessor.java
(original)
+++ jakarta/httpclient/trunk/coyote-httpconnector/src/java/org/apache/http/coyote/impl/HttpConnectionProcessor.java
Wed Oct 12 11:01:26 2005
@@ -70,11 +70,11 @@
 import org.apache.http.coyote.NotImplementedException;
 import org.apache.http.coyote.UnsupportedHttpVersionException;
 import org.apache.http.coyote.params.CoyoteParams;
-import org.apache.http.impl.BasicHttpResponse;
 import org.apache.http.impl.ConnectionReuseStrategy;
 import org.apache.http.impl.DefaultConnectionReuseStrategy;
 import org.apache.http.impl.DefaultResponseStrategy;
 import org.apache.http.impl.ResponseStrategy;
+import org.apache.http.message.BasicHttpResponse;
 import org.apache.http.params.HttpParams;
 import org.apache.http.protocol.AbstractHttpProcessor;
 import org.apache.http.protocol.ResponseConnControl;

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=314980&r1=314979&r2=314980&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
Wed Oct 12 11:01:26 2005
@@ -47,10 +47,10 @@
 import org.apache.http.executor.HttpRequestExecutor;
 import org.apache.http.impl.DefaultHttpClientConnection;
 import org.apache.http.impl.DefaultHttpParams;
-import org.apache.http.impl.HttpGetRequest;
-import org.apache.http.impl.HttpPostRequest;
 import org.apache.http.impl.io.PlainSocketFactory;
 import org.apache.http.io.SocketFactory;
+import org.apache.http.message.HttpGet;
+import org.apache.http.message.HttpPost;
 import org.apache.http.params.HttpConnectionParams;
 import org.apache.http.params.HttpParams;
 import org.apache.http.params.HttpProtocolParams;
@@ -102,11 +102,11 @@
 	}
 
 	private static HttpMutableRequest[] generateRequests() {
-		HttpGetRequest  r1 = new HttpGetRequest("/tomcat-docs/changelog.html");
-		HttpGetRequest  r2 = new HttpGetRequest("/jsp-examples/jsp2/tagfiles/products.jsp");  
-		HttpGetRequest  r3 = new HttpGetRequest("/servlets-examples/servlet/RequestInfoExample");

-		HttpPostRequest r4 = new HttpPostRequest("/servlets-examples/servlet/RequestInfoExample");
-		HttpGetRequest  r5 = new HttpGetRequest("/tomcat-docs/realm-howto.html");
+		HttpGet  r1 = new HttpGet("/tomcat-docs/changelog.html");
+		HttpGet  r2 = new HttpGet("/jsp-examples/jsp2/tagfiles/products.jsp");  
+		HttpGet  r3 = new HttpGet("/servlets-examples/servlet/RequestInfoExample"); 
+		HttpPost r4 = new HttpPost("/servlets-examples/servlet/RequestInfoExample");
+		HttpGet  r5 = new HttpGet("/tomcat-docs/realm-howto.html");
 		byte[] stuff = new byte[1000000];
 		Random rnd = new Random();
 		rnd.nextBytes(stuff);



Mime
View raw message