hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r765595 - /httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/DefaultHttpClient.java
Date Thu, 16 Apr 2009 12:22:21 GMT
Author: sebb
Date: Thu Apr 16 12:22:20 2009
New Revision: 765595

URL: http://svn.apache.org/viewvc?rev=765595&view=rev
Log:
Javadoc

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/DefaultHttpClient.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/DefaultHttpClient.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/DefaultHttpClient.java?rev=765595&r1=765594&r2=765595&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/DefaultHttpClient.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/DefaultHttpClient.java
Thu Apr 16 12:22:20 2009
@@ -126,6 +126,17 @@
     }
 
     
+    /**
+     * Creates a new BasicHttpParams object, and sets up the following:
+     * <ul>
+     * <li>Version: HttpVersion.HTTP_1_1</li>
+     * <li>ContentCharset: HTTP.DEFAULT_CONTENT_CHARSET</li>
+     * <li>UseExpectContinue: true</li>
+     * <li>NoTcpDelay: true</li>
+     * <li>SocketBufferSize: 8192</li>
+     * <li>UserAgent: Apache-HttpClient/release (java 1.5)</li>
+     * </ul>
+     */
     @Override
     protected HttpParams createHttpParams() {
         HttpParams params = new BasicHttpParams();



Mime
View raw message