hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1491802 - /httpcomponents/httpclient/trunk/httpclient/src/examples/org/apache/http/examples/client/ClientConfiguration.java
Date Tue, 11 Jun 2013 14:10:48 GMT
Author: olegk
Date: Tue Jun 11 14:10:47 2013
New Revision: 1491802

URL: http://svn.apache.org/r1491802
Log:
Fixed client config example

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/examples/org/apache/http/examples/client/ClientConfiguration.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/examples/org/apache/http/examples/client/ClientConfiguration.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/examples/org/apache/http/examples/client/ClientConfiguration.java?rev=1491802&r1=1491801&r2=1491802&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/examples/org/apache/http/examples/client/ClientConfiguration.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/examples/org/apache/http/examples/client/ClientConfiguration.java
Tue Jun 11 14:10:47 2013
@@ -241,7 +241,6 @@ public class ClientConfiguration {
             // precedence over those set at the client level.
             context.setCookieStore(cookieStore);
             context.setCredentialsProvider(credentialsProvider);
-            context.setSocketFactoryRegistry(socketFactoryRegistry);
 
             System.out.println("executing request " + httpget.getURI());
             CloseableHttpResponse response = httpclient.execute(httpget, context);



Mime
View raw message