[
https://issues.apache.org/jira/browse/HTTPCLIENT-978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oleg Kalnichevski resolved HTTPCLIENT-978.
------------------------------------------
Resolution: Fixed
Patch checked in with some changes to the exception handling code. Please
review.
For the time being I added a sub-class of IOException called
HttpCacheOperationException, which can be used to signal cache operation
failures. While strictly speaking HttpCacheOperationException does not
represent an I/O error, I am not sure if such distinction is worth the trouble
of having to propagate HttpCacheOperationException in each and every method of
HttpCacheStorage and HttpCache. Feel free to suggest a more elegant solution.
TestEhcacheHttpCache renamed to TestEhcacheHttpCacheStorage.
Michajlo, many thanks for contributing the patch.
Oleg
> provide an ehcache implementation for HttpCache
> -----------------------------------------------
>
> Key: HTTPCLIENT-978
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-978
> Project: HttpComponents HttpClient
> Issue Type: New Feature
> Components: Cache
> Reporter: Jonathan Moore
> Fix For: 4.1 Alpha3
>
> Attachments: ehcache_w_serialization.patch,
> ehcache_w_serialization3.patch, httpclient-cache_ehcache-patch.patch,
> httpclient-cache_ehcache-patch2.patch
>
>
> Provide an implementation of the HttpCache interface that stores cache
> entries in ehcache.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]