You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ro...@apache.org on 2007/12/16 12:42:18 UTC
svn commit: r604608 -
/httpcomponents/oac.hc3x/trunk/src/examples/MultiThreadedExample.java
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