Fixed client config example

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1491802 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Oleg Kalnichevski 2013-06-11 14:10:47 +00:00
parent 656c6ecedc
commit ab9452fd98
1 changed files with 0 additions and 1 deletions

View File

@ -241,7 +241,6 @@ public class ClientConfiguration {
// precedence over those set at the client level. // precedence over those set at the client level.
context.setCookieStore(cookieStore); context.setCookieStore(cookieStore);
context.setCredentialsProvider(credentialsProvider); context.setCredentialsProvider(credentialsProvider);
context.setSocketFactoryRegistry(socketFactoryRegistry);
System.out.println("executing request " + httpget.getURI()); System.out.println("executing request " + httpget.getURI());
CloseableHttpResponse response = httpclient.execute(httpget, context); CloseableHttpResponse response = httpclient.execute(httpget, context);