[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleg Kalnichevski resolved HTTPCLIENT-1378.
-------------------------------------------
    Fix Version/s: 5.4-alpha1
                       (was: Stuck)
       Resolution: Fixed

[~jamesrdf] There should no longer be an overlap in functionality between these 
two classes after the caching module re-design in 5.4. Please let me know if 
you think the caching policy classes should be further refactored / improved.

Oleg

> CacheableRequestPolicy and ResponseCachingPolicy Have Overlapping 
> Functionality
> -------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1378
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1378
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpCache
>    Affects Versions: 4.3 Beta2
>            Reporter: James Leigh
>            Priority: Minor
>              Labels: stuck, volunteers-wanted
>             Fix For: 5.4-alpha1
>
>
> As discussed in HTTPCLIENT-1370, both classes check the same thing in the 
> request object for cache-ability, but handle edge cases differently. The 
> repeated code should be removed and either CacheableRequestPolicy injected as 
> a dependency into the ResponseCachingPolicy or the two classes should be 
> merged into a single class.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to