hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rola...@apache.org
Subject svn commit: r576080 - /jakarta/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientFormLogin.java
Date Sun, 16 Sep 2007 11:59:49 GMT
Author: rolandw
Date: Sun Sep 16 04:59:49 2007
New Revision: 576080

URL: http://svn.apache.org/viewvc?rev=576080&view=rev
Log:
parameter names in interfaces, part 4 - examples

Modified:
    jakarta/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientFormLogin.java

Modified: jakarta/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientFormLogin.java
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientFormLogin.java?rev=576080&r1=576079&r2=576080&view=diff
==============================================================================
--- jakarta/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientFormLogin.java
(original)
+++ jakarta/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientFormLogin.java
Sun Sep 16 04:59:49 2007
@@ -36,7 +36,7 @@
 import org.apache.http.client.methods.HttpPost;
 import org.apache.http.client.methods.UrlEncodedFormEntity;
 import org.apache.http.client.params.CookiePolicy;
-import org.apache.http.client.params.HttpClientParams;
+import org.apache.http.client.params.ClientPNames;
 import org.apache.http.cookie.Cookie;
 import org.apache.http.impl.client.DefaultHttpClient;
 import org.apache.http.message.BasicNameValuePair;
@@ -52,7 +52,7 @@
 
         DefaultHttpClient httpclient = new DefaultHttpClient();
         httpclient.getParams().setParameter(
-                HttpClientParams.COOKIE_POLICY, CookiePolicy.BROWSER_COMPATIBILITY);
+                ClientPNames.COOKIE_POLICY, CookiePolicy.BROWSER_COMPATIBILITY);
 
         HttpGet httpget = new HttpGet("https://portal.sun.com/portal/dt");
 



Mime
View raw message