Commit Graph

85 Commits

Author SHA1 Message Date
Oleg Kalnichevski 30320fe2f4 Fixed NPE in case of a missing Max-Forwards header 2017-10-16 23:00:19 +02:00
Oleg Kalnichevski 0c862432d8 Removed unstable (due to a race condition) integration test 2017-10-16 23:00:19 +02:00
Oleg Kalnichevski 45f1657907 HTTPCLIENT-1827: Builder for CachingHttpAsyncClient instances with full support for streamed HTTP exchanges 2017-10-16 22:59:26 +02:00
Oleg Kalnichevski 849d1a138e HTTPCLIENT-1827: Asynchronous cache exec interceptor with caching support for streamed HTTP exchanges; removed incomplete response checks as response integrity is enforced in the transport layer; async cache re-validation is currently broken in the classic and unsuppoted in the async implementations 2017-10-16 22:51:32 +02:00
Oleg Kalnichevski 6076f5542b Fixed regression in cache validity logic for file backed cache entries 2017-10-13 13:22:23 +02:00
Oleg Kalnichevski bb96781e5b Revised HTTP cache exception handling 2017-10-12 15:42:17 +02:00
Oleg Kalnichevski b24aa01866 Upgraded parent POM to version 9; Removed explicit plugin version declaration (should be inherited from the parent POM) 2017-10-04 14:04:17 +02:00
Oleg Kalnichevski 212d7a2e83 Reduced dependency on classic (blocking) I/O APIs in CacheExec 2017-10-03 10:41:15 +02:00
Oleg Kalnichevski e71d8fac88 Removed IOUtils as redundant; try-with-resources for resource management 2017-10-03 09:43:03 +02:00
Oleg Kalnichevski 1d66105c3a Removed dependency on classic (blocking) I/O APIs from CachedHttpResponseGenerator 2017-10-02 22:00:38 +02:00
Oleg Kalnichevski 0226eaff6d Removed dependency on classic (blocking) I/O APIs from RequestProtocolCompliance and ResponseProtocolCompliance; removed compliance checks unrelated to HTTP caching enforced by protocol handlers 2017-10-02 17:34:40 +02:00
Oleg Kalnichevski d75c5c2be2 Removed dependency on classic (blocking) I/O APIs from ConditionalRequestBuilder 2017-10-02 17:34:40 +02:00
Oleg Kalnichevski 20f4290d01 Removed dependency on classic (blocking) I/O APIs from HttpCache 2017-10-02 17:34:40 +02:00
Oleg Kalnichevski 73c67f221d Redesign of HTTP cache resource APIs 2017-10-02 17:33:41 +02:00
Oleg Kalnichevski 9ac5808bdb Added MessageCopier and implementations for HttpRequest and ClassicHttpRequest messages; removed message copy methods from ExecSupport 2017-09-30 23:00:45 +02:00
Oleg Kalnichevski e8972624ac Redesign of SimpleHttpRequest / SimpleHttpResponse APIs 2017-09-29 17:02:41 +02:00
Oleg Kalnichevski 6d17126cbf Moved classes and renamed packages (no functional changes) 2017-09-02 17:27:30 +02:00
Oleg Kalnichevski b58e7d46d7 Upgraded HttpCore to version 5.0-alpha4 2017-09-01 20:29:58 +02:00
Leandro Nunes 45b23c7e0a Avoid fetching the cached entity twice on cache hit.
Closes PR #79
https://github.com/apache/httpcomponents-client/pull/79
2017-05-24 20:42:57 +02:00
Leandro Nunes e07fd9abed Removing unnecessary checks for cache invalidation calls. 2017-05-19 12:16:40 +01:00
Oleg Kalnichevski 8a1b96bfa7 Upgraded HttpClient version to 5.0-alpha3-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1794682 13f79535-47bb-0310-9956-ffa450edef68
2017-05-10 08:19:07 +00:00
Oleg Kalnichevski 28058b8f85 Upgraded Mockito dependency to version 2.7
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1793693 13f79535-47bb-0310-9956-ffa450edef68
2017-05-03 18:31:58 +00:00
Oleg Kalnichevski e8efaea53f Removed remaining JCL usage in the caching module. Cleaned up POM.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1793690 13f79535-47bb-0310-9956-ffa450edef68
2017-05-03 18:31:30 +00:00
Oleg Kalnichevski 25c6afed7c Initial redesign of the classic request execution chain
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1793308 13f79535-47bb-0310-9956-ffa450edef68
2017-05-01 11:11:09 +00:00
Oleg Kalnichevski 04594b97a9 Upgraded HttpCore to version 5.0-alpha3; fixed HttpCore API usage
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1793305 13f79535-47bb-0310-9956-ffa450edef68
2017-05-01 10:47:09 +00:00
Oleg Kalnichevski ee0e084e8c fix cache NFE for big content length
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1790039 13f79535-47bb-0310-9956-ffa450edef68
2017-04-03 19:04:51 +00:00
Gary D. Gregory b1f8cd58f6 Use final.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1788709 13f79535-47bb-0310-9956-ffa450edef68
2017-03-26 02:43:03 +00:00
Oleg Kalnichevski a2927f6a04 Better handling of missing content-type header in OPTIONS with entity
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1787706 13f79535-47bb-0310-9956-ffa450edef68
2017-03-20 10:11:41 +00:00
Oleg Kalnichevski 191183bf75 Moved sync HTTP method classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1784141 13f79535-47bb-0310-9956-ffa450edef68
2017-02-23 14:35:01 +00:00
Oleg Kalnichevski 4d0d23dc01 Integration and compatibility tests
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1780849 13f79535-47bb-0310-9956-ffa450edef68
2017-01-29 19:22:20 +00:00
Oleg Kalnichevski 1da6fc21ed Moved connection pool construction logic out of HttpClientBuilder into a separate builder class
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1777768 13f79535-47bb-0310-9956-ffa450edef68
2017-01-07 11:38:46 +00:00
Oleg Kalnichevski e48091da3d Upgraded HttpCore to version 5.0-alpha2; Upgraded to the latest 5.0 APIs
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1776187 13f79535-47bb-0310-9956-ffa450edef68
2016-12-27 19:48:07 +00:00
Gary D. Gregory fd412e7bf1 [HTTPCLIENT-1786] Port from Apache Commons Logging to Apache Log4j 2.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1767391 13f79535-47bb-0310-9956-ffa450edef68
2016-10-31 23:24:37 +00:00
Gary D. Gregory a24b592e87 Use final.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1757448 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 22:27:27 +00:00
Gary D. Gregory 3c58addf11 SVN move folders from httpclient* to httpclient5* in order to match the Maven artifact ID, which matters for multi-module builds.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1726719 13f79535-47bb-0310-9956-ffa450edef68
2016-01-26 00:22:23 +00:00