hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Moore (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HTTPCLIENT-1005) API surface of caching module can be reduced
Date Thu, 30 Sep 2010 17:41:34 GMT

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

Jonathan Moore updated HTTPCLIENT-1005:
---------------------------------------

    Attachment: smaller-api.patch

The attached patch reduces the surface of the exposed API, so that the only publicly-available
classes are:

CacheConfig
CacheResponseStatus
DefaultCachingHttpClient
EhcacheCachingHttpClient
MemcachedCachingHttpClient

This allows a client currently to instantiate but not extend the current implementation. One
side effect is that most classes are now in the org.apache.http.impl.client.cache package
except for CacheConfig and CacheResponseStatus. 

This patch is contributed to the ASF with the permission of my employer.

> API surface of caching module can be reduced
> --------------------------------------------
>
>                 Key: HTTPCLIENT-1005
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1005
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: Cache
>    Affects Versions: 4.1 Alpha2
>            Reporter: Jonathan Moore
>         Attachments: smaller-api.patch
>
>
> While the caching module can currently be considered functional and useful for folks
as-is, there are several near-term enhancements planned that could change the exposed binary
API of the caching module (although it is not yet clear whether they would or not). In an
effort to allow the 4.1 GA release to go forward while hedging bets against future development,
we should consider drastically reducing the exposed binary API of the caching module, and
not exposing extension points until someone explicitly asks for them.

-- 
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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message