You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2007/07/20 21:54:06 UTC
[jira] Commented: (HTTPCORE-100) revise HttpContext hierarchy
[ https://issues.apache.org/jira/browse/HTTPCORE-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514305 ]
Oleg Kalnichevski commented on HTTPCORE-100:
--------------------------------------------
Roland,
The patch does not seem to include new classes (BasicHttpContext etc). Anyways, all looks fine to me. Please go ahead and commit.
Oleg
> revise HttpContext hierarchy
> ----------------------------
>
> Key: HTTPCORE-100
> URL: https://issues.apache.org/jira/browse/HTTPCORE-100
> Project: HttpComponents Core
> Issue Type: Improvement
> Components: HttpCore
> Affects Versions: 4.0-alpha5
> Reporter: Roland Weber
> Assignee: Roland Weber
> Fix For: 4.0-alpha6
>
> Attachments: 2k7-07-20-HttpCtxt-take-1.txt
>
>
> (posted on the httpcomponents-dev list)
> I don't like the current HttpContext hierarchy. We have:
> HttpContext - interface, some attribute name constants
> HttpExecutionContext - implementation, more attrib names
> SyncHttpExecutionContext - extended implementation
> HttpClientContext - more attribute names
> We solved this much better with HttpParams, where
> all the attribute names are defined separately
> instead of cluttering the interface or being spread
> around in implementation classes.
> I would like to move the attribute name constants
> either to separate interfaces defining only constants,
> or to isolated classes with static helper methods like
> we have them for HttpParams. The HttpContext hierarchy
> in core/client would be streamlined to the interface
> and the two implementations.
--
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: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org