Javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@765595 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
78a0d3346d
commit
834c667310
|
@ -126,6 +126,17 @@ public class DefaultHttpClient extends AbstractHttpClient {
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* 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();
|
||||
|
|
Loading…
Reference in New Issue