Oleg Kalnichevski
b452006756
Upgraded HttpCore to version 5.0-beta6
2018-12-04 15:49:56 +01:00
Oleg Kalnichevski
eb0ee46c05
Upgraded HttpClient version to 5.0-beta3-SNAPSHOT
2018-10-27 10:30:11 +02:00
Oleg Kalnichevski
83f9ab8d1d
HttpClient 5.0-beta2 release
2018-10-23 15:40:37 +02:00
Oleg Kalnichevski
1b6175d76a
Updated remote javadoc references
2018-10-23 15:14:34 +02:00
Gary Gregory
3e5df337c5
Update tests from Easymock 3.2 to 3.6.
2018-10-22 16:55:19 -06:00
Oleg Kalnichevski
ab7be3fd53
Upgraded HttpCore to version 5.0-beta5
2018-10-21 13:24:49 +02:00
Oleg Kalnichevski
37c8006472
Javadocs; renamed some methods (no functional changes)
2018-10-17 23:40:12 +02:00
Gary Gregory
8e486b356e
Reuse our UriScheme enum instead of magic strings.
2018-10-03 09:25:17 -06:00
Oleg Kalnichevski
cbe00beb56
Removed duplicate class (no functional changes)
2018-08-30 11:36:46 +02:00
Oleg Kalnichevski
1614c25168
Upgraded HttpCore dependency to version 5.0-beta3
2018-08-30 10:54:54 +02:00
Gary Gregory
3aa9c1fd33
- Always use blocks
...
- Add missing serial version ID (default 1L)
- Camel-case names.
- Don't nest in else clause unnecessarily.
- Remove declared exceptions that are not thrown (but don't break BC.)
- Remove redundant superinterface
- Access static methods directly
- Better local var names.
2018-08-14 20:56:08 +02:00
Gary Gregory
769e9fab3f
Add missing @Override annotations.
2018-08-05 11:40:07 -06:00
Gary Gregory
c3bdc8913f
Refactor common code in a new Closer utility class.
2018-08-04 23:55:41 +02:00
Gary Gregory
8d87cf515b
Static methods should be accessed directly. Remove redundant type
...
arguments. Remove exceptions not thrown from method signatures. Add
missing @Override. Remove unnecessary semicolons. Don't nest
unnecessarily.
2018-08-04 10:40:01 -06:00
Oleg Kalnichevski
68fd176c07
Upgraded HttpClient version to 5.0-beta2-SNAPSHOT
2018-01-18 10:02:04 +01:00
Oleg Kalnichevski
67be267f99
HttpClient 5.0-beta1 release
2018-01-15 13:30:04 +01:00
Sudheera Palihakkara
5f2ad23ab3
HTTPCLIENT-1690: Avoid updating the cache entry with Content-Encoding headers too. (missing piece from last commit). Updated the test case
2018-01-15 13:03:57 +01:00
Sudheera Palihakkara
a3bcad3989
HTTPCLIENT-1690: Avoid merging Content-Encoding headers coming with 304 status to cache entry
2018-01-15 10:16:35 +01:00
Oleg Kalnichevski
695f353b43
Re-use concurrent primitives from HttpCore
2018-01-12 14:20:10 +01:00
Oleg Kalnichevski
dee32207e3
Upgraded HttpCore dependency to version 5.0-beta2
2018-01-12 14:06:08 +01:00
Oleg Kalnichevski
3780b706ae
Fixed cache module dependency declaration
2018-01-11 10:24:56 +01:00
Oleg Kalnichevski
eb71f45ee5
SLF4J logging facade
2018-01-10 13:07:37 +01:00
Oleg Kalnichevski
16147b1852
Completed rewrite of re-validation code in the classic caching exec interceptor; added re-validation to the async caching exec interceptor
2018-01-08 11:13:17 +01:00
Oleg Kalnichevski
f16ac3ec3b
Better method name (no functional changes)
2018-01-07 13:59:28 +01:00
Oleg Kalnichevski
7cf4240b3f
Redesigned cache entry re-validation logic; added classic and async implementations of cache re-validators
2018-01-07 12:48:59 +01:00
Oleg Kalnichevski
79b76030fd
Replaced FailureCache by generic ConcurrentCountMap
2018-01-05 15:09:05 +01:00
Oleg Kalnichevski
0561bacc66
Decoupled SchedulingStrategy and its implementations from HTTP cache specific logic
2018-01-05 12:29:14 +01:00
Oleg Kalnichevski
eb1cab46e6
HTTPCLIENT-1384: clean up of HttpCacheInvalidator and HttpAsyncCacheInvalidator APIs
2018-01-02 13:41:31 +01:00
Oleg Kalnichevski
c78032d638
HTTPCLIENT-1395: added config parameter to skip an extra cache entry freshness check upon cache update in case of a cache miss
2018-01-01 18:31:43 +01:00
Oleg Kalnichevski
194e4f5289
Corrected handling of request with non-repeatable by caching request execution interceptors
2018-01-01 16:52:50 +01:00
Oleg Kalnichevski
c607197fd0
Code cleanup in AsyncCachingExec: async code made more consistent with that of its classic counterpart and hopefully a bit more readable
2018-01-01 16:45:46 +01:00
Oleg Kalnichevski
77703a7eef
HttCache and HttpAsyncCache implementation to treat ResourceIOExceptions as non-fatal and log ResourceIOExceptions as warnings
2017-12-30 12:31:46 +01:00
Oleg Kalnichevski
749b02ac03
HTTPCLIENT-1824: asynchronous HTTP cache executor to use asynchronous HTTP cache APIs; changed algorithm of the backend response freshness check (both classic and async cache implementations)
2017-12-27 11:53:09 +01:00
Oleg Kalnichevski
b4768fc86b
HTTPCLIENT-1824: asynchronous HTTP response cache
2017-12-27 11:53:03 +01:00
Oleg Kalnichevski
3f52d0bf90
HTTPCLIENT-1824: asynchronous HTTP cache invalidator
2017-12-26 18:12:18 +01:00
Oleg Kalnichevski
6200a17c0c
Redesign of CacheKeyGenerator and HttpCacheInvalidator APIs
2017-12-26 18:09:08 +01:00
Oleg Kalnichevski
6459d6882c
Added Date util methods for common operations
2017-12-26 17:18:20 +01:00
Oleg Kalnichevski
e262842466
Added Cancellable convenience methods
2017-12-23 10:48:46 +01:00
Oleg Kalnichevski
d6d3d364eb
Clean up of CacheEntryUpdater (CacheEntryUpdater renamed to CacheUpdateHandler)
2017-12-22 15:12:44 +01:00
Oleg Kalnichevski
123a68d513
Clean up of BasicHttpCache and related test classes
2017-12-22 11:10:08 +01:00
Oleg Kalnichevski
b2d063c6a8
Removed unused code
2017-12-21 14:49:25 +01:00
Oleg Kalnichevski
8d08c38d4f
Bugfix: fixed incorrect behaviour of HttpCacheEntryMatcher, fixed incorrect mapping of cache entries returned by bulk retrieval methods
2017-12-21 14:49:25 +01:00
Oleg Kalnichevski
29666a1ad4
New APIs for cache entry bulk retrieval; bulk retrieval support by Memcached storage implementation
2017-12-20 11:46:57 +01:00
Oleg Kalnichevski
002f40f9d3
HTTPCLIENT-1824, HTTPCLIENT-1868: Asynchronous HTTP cache storage API; Memcached backend implementation of async HTTP cache storage
2017-12-20 11:24:52 +01:00
Oleg Kalnichevski
ebcb55d641
Renamed HttpCacheUpdateCallback to HttpCacheCASOperation (CAS = Compare-And-Swap)
2017-12-20 10:27:37 +01:00
Oleg Kalnichevski
9581cbc7a0
Factored out request URI generation and normalization logic fron CacheKeyGenerator into HttpCacheSupport
2017-12-08 13:27:03 +01:00
Oleg Kalnichevski
043fe4dd90
Use StandardMethods
2017-12-07 19:59:33 +01:00
Oleg Kalnichevski
b1659264f7
Clean up of test cases
2017-12-07 19:59:32 +01:00
Oleg Kalnichevski
450cb40afc
Upgraded HttpClient version to 5.0-alpha4-SNAPSHOT
2017-11-24 09:38:15 +01:00
Oleg Kalnichevski
ea22019220
HttpClient 5.0-alpha3 release
2017-11-19 12:54:30 +01:00