hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rola...@apache.org
Subject svn commit: r604608 - /httpcomponents/oac.hc3x/trunk/src/examples/MultiThreadedExample.java
Date Sun, 16 Dec 2007 11:42:18 GMT
Author: rolandw
Date: Sun Dec 16 03:42:08 2007
New Revision: 604608

URL: http://svn.apache.org/viewvc?rev=604608&view=rev
Log:
updated sample URIs

Modified:
    httpcomponents/oac.hc3x/trunk/src/examples/MultiThreadedExample.java

Modified: httpcomponents/oac.hc3x/trunk/src/examples/MultiThreadedExample.java
URL: http://svn.apache.org/viewvc/httpcomponents/oac.hc3x/trunk/src/examples/MultiThreadedExample.java?rev=604608&r1=604607&r2=604608&view=diff
==============================================================================
--- httpcomponents/oac.hc3x/trunk/src/examples/MultiThreadedExample.java (original)
+++ httpcomponents/oac.hc3x/trunk/src/examples/MultiThreadedExample.java Sun Dec 16 03:42:08
2007
@@ -56,14 +56,14 @@
         HttpClient httpClient = new HttpClient(new MultiThreadedHttpConnectionManager());
         // Set the default host/protocol for the methods to connect to.
         // This value will only be used if the methods are not given an absolute URI
-        httpClient.getHostConfiguration().setHost("jakarta.apache.org", 80, "http");
+        httpClient.getHostConfiguration().setHost("hc.apache.org", 80, "http");
         
         // create an array of URIs to perform GETs on
         String[] urisToGet = {
             "/",
-            "/commons/",
-            "/commons/httpclient/",
-            "http://svn.apache.org/viewvc/jakarta/httpcomponents/oac.hc3x/"
+            "/httpclient-3.x/status.html",
+            "/httpclient-3.x/methods/",
+            "http://svn.apache.org/viewvc/httpcomponents/oac.hc3x/"
         };
         
         // create a thread for each URI



Mime
View raw message