Commit Graph

2474 Commits

Author SHA1 Message Date
Oleg Kalnichevski d9cc6c8879 Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1606188 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 19:30:09 +00:00
Sebastian Bazley 4c89604863 A single trailing space breaks the build ...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604913 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 19:32:43 +00:00
Sebastian Bazley 899c7c8046 More doc on connection checking
Fix bug in Javadoc - default is now false.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604897 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 18:18:03 +00:00
Sebastian Bazley 80cf0fec6e Document stale connection strategy change
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604896 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 18:10:21 +00:00
Sebastian Bazley 41afff3f2a Tab police
Though I had found all the tab generators in Eclipse ...

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604894 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 17:49:50 +00:00
Sebastian Bazley 4006d7e4f2 Add TODOs for code that needs looking at
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604892 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 17:46:29 +00:00
Sebastian Bazley a80b4533b3 Avoid unused warnings
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604891 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 17:44:20 +00:00
Sebastian Bazley c6113729e2 Add dummy SVUIID
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604884 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 17:18:33 +00:00
Sebastian Bazley 0490cdd679 Add dummy SVUIID
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604883 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 17:17:55 +00:00
Oleg Kalnichevski 51f7fe36f8 Updated release notes for HttpClient 4.4-alpha1 release
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604775 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 12:14:19 +00:00
Oleg Kalnichevski 6d2579d5ce Updated building instructions: added Windows native module and raised minimal Java to 1.6
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604774 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 12:14:07 +00:00
Oleg Kalnichevski f265f7b617 HTTPCLIENT-1480: convenience methods for HC fluent to set auth hosts
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604773 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 12:13:52 +00:00
Oleg Kalnichevski c5c0bc6801 HTTPCLIENT-1493: Indiscriminate connection checking has been deprecated in favor of conditional connection state validation. Persistent connections are to be re-validated only after a defined period inactivity prior to being leased to the consumer.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604772 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 12:13:35 +00:00
Gary D. Gregory 0700b14d6a Javadoc fixes for Java 8. Replace "<tt>Foo</tt>" with "{@code Foo}".
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1603933 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 15:45:42 +00:00
Oleg Kalnichevski 3269410866 Makes no sense to me but hope it will make VMWare happy
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1603773 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 09:17:53 +00:00
Oleg Kalnichevski 8ad27884ef HTTPCLIENT-1520: project license link to refer to http://www.apache.org/licenses/LICENSE-2.0.txt
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1603761 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 08:48:34 +00:00
Oleg Kalnichevski d66b842b79 HTTPCLIENT-1521: Added factory method for creation of main exec, which enables subclasses of HttpClientBuilder to override the default implementation
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1603755 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 08:28:39 +00:00
Oleg Kalnichevski ad092c5d03 HTTPCLIENT-1519: Use the original HttpHost instance passed as a parameter to HttpClient#execute when generating 'Host' request header
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1603745 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 07:52:41 +00:00
Oleg Kalnichevski 7ae0a8ac5f Fixed binary incompatibility with 4.3
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1603744 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 07:52:25 +00:00
Oleg Kalnichevski 48c22cc202 Added static method to close idle connections used by the fluent executor
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1603444 13f79535-47bb-0310-9956-ffa450edef68
2014-06-18 13:07:11 +00:00
Oleg Kalnichevski 2ebd820284 Migrated integration tests to HttpServer from HttpCore 4.4
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1603443 13f79535-47bb-0310-9956-ffa450edef68
2014-06-18 13:06:43 +00:00
Oleg Kalnichevski 967257528a Upgraded HttpCore to version 4.4-alpha1
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1603442 13f79535-47bb-0310-9956-ffa450edef68
2014-06-18 13:06:08 +00:00
Oleg Kalnichevski 40baf04ccd Upgraded JNA to version 4.1.0
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1602403 13f79535-47bb-0310-9956-ffa450edef68
2014-06-13 12:02:50 +00:00
Oleg Kalnichevski 0d12fdcbc2 Added Win auth example
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1602402 13f79535-47bb-0310-9956-ffa450edef68
2014-06-13 12:02:40 +00:00
Oleg Kalnichevski 00a8e01a17 HTTPCLIENT-1394: added factory methods for HttpClient instances configured to use integrated Windows authentication by default
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1602401 13f79535-47bb-0310-9956-ffa450edef68
2014-06-13 12:02:20 +00:00
Oleg Kalnichevski 101850f4fc HTTPCLIENT-1394: made WindowsCredentialsProvider a decorator for an arbitrary CredentialsProvider
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1602398 13f79535-47bb-0310-9956-ffa450edef68
2014-06-13 12:02:02 +00:00
Oleg Kalnichevski 8b01566bf7 HTTPCLIENT-1394: minor improvements in CurrentWindowsCredentials
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1602397 13f79535-47bb-0310-9956-ffa450edef68
2014-06-13 12:01:47 +00:00
Oleg Kalnichevski 54e3ad83fc Removed obsolete test case
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1602396 13f79535-47bb-0310-9956-ffa450edef68
2014-06-13 12:01:21 +00:00
Oleg Kalnichevski 4709d85aaf Removed references to deprecated JUnit classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1602394 13f79535-47bb-0310-9956-ffa450edef68
2014-06-13 12:01:06 +00:00
Oleg Kalnichevski dc0642e094 BasicAuthCache to cache serialized AuthScheme data; made thread safe
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1602136 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 12:12:43 +00:00
Oleg Kalnichevski 59b229079b Test case for HTTPCLIENT-1490
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1600737 13f79535-47bb-0310-9956-ffa450edef68
2014-06-05 19:30:05 +00:00
Oleg Kalnichevski 07e7a0c281 Auth scheme state cache to use object serialization
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1600641 13f79535-47bb-0310-9956-ffa450edef68
2014-06-05 13:09:47 +00:00
Oleg Kalnichevski 6b6ad6075d HTTPCLIENT-1434: add singletons for TrustSelfSignedStrategy and hostname verifiers
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1600133 13f79535-47bb-0310-9956-ffa450edef68
2014-06-04 12:13:16 +00:00
Oleg Kalnichevski 51ba114e63 HTTPCLIENT-1449: split AbstractVerifier into AbstractBaseHostnameVerifier and AbstractCommonHostnameVerifier the former implementing cert extraction logic while the latter implementing CN and SubjectAlts extraction and validation logic
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1600132 13f79535-47bb-0310-9956-ffa450edef68
2014-06-04 12:12:59 +00:00
Oleg Kalnichevski 5ff23f9613 https://github.com/apache/httpclient/pull/12
Configurable charset for request and URI builders
Contributed by isabelabel <bel at jusbrasil.com.br>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1599798 13f79535-47bb-0310-9956-ffa450edef68
2014-06-03 21:08:41 +00:00
Oleg Kalnichevski 8e30f60efe HTTPCLIENT-1503: setter for custom multipart subtypes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1599553 13f79535-47bb-0310-9956-ffa450edef68
2014-06-03 14:11:22 +00:00
Oleg Kalnichevski 700b390d8e HTTPCLIENT-1472: deprecated DateParseException
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1598878 13f79535-47bb-0310-9956-ffa450edef68
2014-05-31 14:42:37 +00:00
Oleg Kalnichevski 30d5935629 HTTPCLIENT-1511: Added abstract response handler
Contributed by Jochen Kemnade <jochen.kemnade at eddyson.de>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1597552 13f79535-47bb-0310-9956-ffa450edef68
2014-05-26 10:31:20 +00:00
Oleg Kalnichevski dac3450d57 HTTPCLIENT-1512: Option to override content charset for fluent response objects
Contributed by Jochen Kemnade <jochen.kemnade at eddyson.de>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1597551 13f79535-47bb-0310-9956-ffa450edef68
2014-05-26 10:23:40 +00:00
Oleg Kalnichevski 7797380cdd Cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1597032 13f79535-47bb-0310-9956-ffa450edef68
2014-05-23 08:52:38 +00:00
Oleg Kalnichevski fd6ebf7be0 Apply initial socket parameters prior to bind operation
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1596951 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 19:45:59 +00:00
Oleg Kalnichevski a262021334 Replaced dynamic proxies with custom proxy classes to reduce thread contention
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1596653 13f79535-47bb-0310-9956-ffa450edef68
2014-05-21 18:57:59 +00:00
Oleg Kalnichevski c5b8b8db5d HTTPCLIENT-1507: clarified behavior of CloseableHttpResponse#close()
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1596521 13f79535-47bb-0310-9956-ffa450edef68
2014-05-21 09:35:49 +00:00
Oleg Kalnichevski 1ba8a897f3 HTTPCLIENT-1508: use actual JRE version when generating default User-Agent header
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1594805 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 07:52:12 +00:00
Oleg Kalnichevski 0a93660d96 Use a separate setter for shared connection manager flag
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1593923 13f79535-47bb-0310-9956-ffa450edef68
2014-05-12 11:12:48 +00:00
Oleg Kalnichevski b40661e45e HTTPCLIENT-1498: empty host in redirect location causes NPE
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1591221 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 09:32:52 +00:00
Oleg Kalnichevski 92b5d6d09d HTTPCLIENT-1497: Allow zero SO_LINGER (immediate abortive close)
Contributed by Dmitry Potapov <potapov.d at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1589359 13f79535-47bb-0310-9956-ffa450edef68
2014-04-23 09:41:11 +00:00
Oleg Kalnichevski 64fade92df HTTPCLIENT-1495: shut down standard connection managers only once
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1587883 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 11:52:16 +00:00
Oleg Kalnichevski cd1f9fc9f7 Support for shared connection managers
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1587507 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 10:53:49 +00:00
Oleg Kalnichevski cb983ea5b0 HTTPCLIENT-1494: null check in StringBody constructor
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1585944 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 11:42:56 +00:00