hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roland Weber (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HTTPCLIENT-722) API: Configuration framework is not Java-like
Date Thu, 20 Dec 2007 17:47:43 GMT

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

Roland Weber resolved HTTPCLIENT-722.
-------------------------------------

    Resolution: Invalid

If you don't like the API we've designed, feel free to open a discussion on the mailing list,
or even a JIRA ticket as "Wish" or "Improvement". But your not liking one of our design decisions
is most certainly NOT a bug. At least not on our side.

HttpCore-main uses Java 1.3, the @tag stuff hasn't been introduced until Java 5.0. You request
is invalid.

We can't use standard beans class for holding configuration data, because then we'd need to
know in advance what parameters we need to support. A map can hold all kinds of parameters,
and the same map can be passed to and used in various places of the framework.

Some beans stuff has been introduced recently to address Spring integration, maybe you'll
like that better. See HTTPCORE-37.

cheers,
  Roland

> API: Configuration framework is not Java-like
> ---------------------------------------------
>
>                 Key: HTTPCLIENT-722
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-722
>             Project: HttpComponents HttpClient
>          Issue Type: Wish
>    Affects Versions: 4.0 Alpha 2
>            Reporter: Jens Wike
>
> I consider the new configuration scheme a major draw back.
> Having a map and introducing static accessor methods for this map
> is neither OO nor Java-like.
> Configuration data should be standard beans compliant classes.
> Also a JSR250 compliant annotation should be there (@Resource, et. al.)
> This way http client and its configuration can assembled directly in an 
> IoC container.

-- 
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