Commit Graph

2268 Commits

Author SHA1 Message Date
Gary D. Gregory 746bb7aea2 Add missing '@Override' annotations.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558059 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:48:56 +00:00
Gary D. Gregory a7caa74b1e Convert 'for' loops to enhanced 'for' loops.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558057 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:47:21 +00:00
Gary D. Gregory 9debe112db Convert control statement bodies to block.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558055 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:45:13 +00:00
Gary D. Gregory 2bc42458a2 The static fields in HttpCoreContext should be accessed directly.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558054 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:42:33 +00:00
Gary D. Gregory 17a5fa3e2c The static fields in HttpCoreContext should be accessed directly.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558052 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:42:05 +00:00
Gary D. Gregory 988b769bfd The static fields in HttpCoreContext should be accessed directly.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558051 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:41:37 +00:00
Gary D. Gregory 1dbd3e4fd5 The static fields in HttpCoreContext should be accessed directly.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558050 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:41:19 +00:00
Gary D. Gregory b840ce4951 Simplify: no need for extra branch.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558049 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:38:23 +00:00
Gary D. Gregory 48b34a5ab2 Redundant super-interface Serializable for the type BasicClientCookie2, already defined by BasicClientCookie.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558048 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:37:24 +00:00
Gary D. Gregory b6e32c9d44 Simplify: no need for so many branches.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558047 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:33:24 +00:00
Gary D. Gregory 061640e557 Javadoc: fix spelling.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558036 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 13:50:21 +00:00
Oleg Kalnichevski af2b0d92b5 Updated NOTICE
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1557334 13f79535-47bb-0310-9956-ffa450edef68
2014-01-11 10:15:54 +00:00
Oleg Kalnichevski 1fe5fa3c2e HTTPCLIENT-1446: NTLM proxy + BASIC target auth fails with 'Unexpected state: MSG_TYPE3_GENERATED
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1557064 13f79535-47bb-0310-9956-ffa450edef68
2014-01-10 09:29:13 +00:00
Oleg Kalnichevski 502908d501 Added HTTPCLIENT-1443 to the release notes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1554023 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 12:48:13 +00:00
Oleg Kalnichevski b1220dd568 Updated HttpClient 4.3.2 release notes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1554017 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 11:56:30 +00:00
Francois-Xavier Bonnet 8acc3ad661 HTTPCLIENT-1443: HttpCache uses the physical host instead of the virtual host in the cache key
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1553642 13f79535-47bb-0310-9956-ffa450edef68
2013-12-27 08:18:03 +00:00
Oleg Kalnichevski cc4b18e865 Upgraded HttpCore to version 4.3.1
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1553293 13f79535-47bb-0310-9956-ffa450edef68
2013-12-24 15:55:19 +00:00
Oleg Kalnichevski a86424fc43 HTTPCLIENT-1442: Authentication header set by the user gets removed in case of proxy authentication
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1548547 13f79535-47bb-0310-9956-ffa450edef68
2013-12-06 14:58:15 +00:00
Oleg Kalnichevski ae429fab28 HTTPCLIENT-1441: Caching AsynchronousValidationRequest leaks connections.
Contributed by Dominic Tootell <dominic.tootell at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1546855 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 20:33:37 +00:00
Oleg Kalnichevski 9cc7c1acec HTTPCLIENT-1440: 'file' scheme in redirect location URI causes NPE.
Contributed by James Leigh <james at 3roundstones dot com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1546315 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 08:57:04 +00:00
Oleg Kalnichevski 037b915bd0 HTTPCLIENT-1437: Made Executor#execute thread safe
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1545356 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 18:05:24 +00:00
Oleg Kalnichevski 92b7e8cd97 HTTPCLIENT-1119: SNI support (Oracle Java 1.7+ only).
Contributed by Bruno Harbulot <bruno at distributedmatter.net>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1544769 13f79535-47bb-0310-9956-ffa450edef68
2013-11-23 11:09:04 +00:00
Oleg Kalnichevski 1cdbd4383a HTTPCLIENT-1435: Fluent Executor ignores custom request properties
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1544200 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 14:50:55 +00:00
Oleg Kalnichevski ebc83e74d2 HTTPCLIENT-1429: truncate long cookie values in WARN logs
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1539399 13f79535-47bb-0310-9956-ffa450edef68
2013-11-06 17:04:21 +00:00
Oleg Kalnichevski 0b3ef4b0d0 HTTPCLIENT-1432: Lazy decompressing of HttpEntity#getContent() to avoid EOFExceptionin case of an empty response with 'Content-Encoding: gzip' header.
Contributed by Yihua Huang <code4crafter at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1539302 13f79535-47bb-0310-9956-ffa450edef68
2013-11-06 10:37:54 +00:00
Oleg Kalnichevski f3a6831d47 HTTPCLIENT-1431: (Regression) deprecated connection manager cannot be used witha custom LayeredSchemeSocketFactory
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1539286 13f79535-47bb-0310-9956-ffa450edef68
2013-11-06 09:24:33 +00:00
Oleg Kalnichevski 85a99b22e4 HTTPCLIENT-1428: Fixed Javadoc typo
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1537133 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 15:31:21 +00:00
Oleg Kalnichevski 7d7e7b1a4a HTTPCLIENT-1427: code sample fix in tutorial
Contributed by Lars Francke <lars.francke at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1536309 13f79535-47bb-0310-9956-ffa450edef68
2013-10-28 10:50:55 +00:00
Oleg Kalnichevski 2b31931ecf HTTPCLIENT-1426: use File#getName() if filename is not explicitly given
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1535114 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 18:37:55 +00:00
Oleg Kalnichevski 65194e9d81 Upgraded API comparison level to 4.3
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1534758 13f79535-47bb-0310-9956-ffa450edef68
2013-10-22 19:59:30 +00:00
Oleg Kalnichevski 1003beffc0 HTTPCLIENT-1425: Fixed socket closed exception thrown by caching HttpClient when the origin server sends a long chunked response (follow-up)
Contributed by James Leigh <james at 3roundstones dot com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1534757 13f79535-47bb-0310-9956-ffa450edef68
2013-10-22 19:59:14 +00:00
Oleg Kalnichevski 6bb9398b39 HTTPCLIENT-1425: Fixed socket closed exception thrown by caching HttpClient when the origin server sends a long chunked response
Contributed by James Leigh <james at 3roundstones dot com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1534585 13f79535-47bb-0310-9956-ffa450edef68
2013-10-22 10:10:16 +00:00
Oleg Kalnichevski 9bdc844a40 HTTPCLIENT-1423: fixed typo in tutorial
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1533369 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 09:30:35 +00:00
Oleg Kalnichevski 303100b7b6 HTTPCLIENT-1422: fixed typo in tutorial
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1531215 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 07:58:00 +00:00
Oleg Kalnichevski e08e097af2 HTTPCLIENT-1420, HTTPCLIENT-1421: fixed typos in tutorial
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1530867 13f79535-47bb-0310-9956-ffa450edef68
2013-10-10 07:46:41 +00:00
Oleg Kalnichevski 8a170e0a88 HTTPCLIENT-1419: fixed typo in tutorial
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1530338 13f79535-47bb-0310-9956-ffa450edef68
2013-10-08 16:20:40 +00:00
Oleg Kalnichevski bcd41d700f HTTPCLIENT-1418: fixed class cast exception in HttpClientParamConfig#getRequestConfig
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1530309 13f79535-47bb-0310-9956-ffa450edef68
2013-10-08 15:30:13 +00:00
Oleg Kalnichevski 4f03bedbf8 HTTPCLIENT-1417: Fixed NPE in BrowserCompatSpec#formatCookies caused by version 1 cookies with null cookie value
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1530218 13f79535-47bb-0310-9956-ffa450edef68
2013-10-08 10:36:30 +00:00
Oleg Kalnichevski df36e1087c HTTPCLIENT-1416: Fixed NPE in CachingHttpClientBuilder#build()
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1529812 13f79535-47bb-0310-9956-ffa450edef68
2013-10-07 10:08:05 +00:00
Oleg Kalnichevski b83c1b9358 Upgraded HttpClient version to 4.3.2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1529810 13f79535-47bb-0310-9956-ffa450edef68
2013-10-07 09:49:54 +00:00
Oleg Kalnichevski 68e38d26f3 HTTPCLIENT-1397: Use the full license name in the Maven POM
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1529507 13f79535-47bb-0310-9956-ffa450edef68
2013-10-05 20:06:01 +00:00
Oleg Kalnichevski d6ffa5362c Updated HttpClient examples
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1529450 13f79535-47bb-0310-9956-ffa450edef68
2013-10-05 13:24:29 +00:00
Oleg Kalnichevski 922d442ce9 SystemDefaultCredentialsProvider doesn't specify RequestorType.PROXY for proxy authentication requests (follow-up)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1529435 13f79535-47bb-0310-9956-ffa450edef68
2013-10-05 11:22:15 +00:00
Oleg Kalnichevski 4282ad94e3 HTTPCLIENT-1413: Fixed divide by zero error in FutureRequestExecutionMetrics
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1529295 13f79535-47bb-0310-9956-ffa450edef68
2013-10-04 20:54:49 +00:00
Oleg Kalnichevski cc6a57e04a HTTPCLIENT-1412: SystemDefaultCredentialsProvider doesn't specify RequestorType.PROXY for proxy authentication requests
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1529291 13f79535-47bb-0310-9956-ffa450edef68
2013-10-04 20:45:22 +00:00
Oleg Kalnichevski cb89108e45 Javadoc tweaks
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1529282 13f79535-47bb-0310-9956-ffa450edef68
2013-10-04 20:30:25 +00:00
Oleg Kalnichevski 3e4455035e Updated HttpClient 4.3.1 release notes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1528963 13f79535-47bb-0310-9956-ffa450edef68
2013-10-03 18:35:56 +00:00
Oleg Kalnichevski fea3c55520 [HTTPCLIENT-1410: Browser compatible hostname verifier no longer rejects *.co.<countrycode>, *.gov.<countrycode>, *.info.<countrycode>, etc as invalid
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1528744 13f79535-47bb-0310-9956-ffa450edef68
2013-10-03 08:25:58 +00:00
Oleg Kalnichevski 75937296d9 Fixed initialization of SSL supported protocols and cipher suites
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1528736 13f79535-47bb-0310-9956-ffa450edef68
2013-10-03 07:43:47 +00:00
Oleg Kalnichevski 08140864e3 Ensure X509HostnameVerifier is never null
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1528614 13f79535-47bb-0310-9956-ffa450edef68
2013-10-02 20:14:31 +00:00