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


(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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to