hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stojce Dimski <sdmi...@yahoo.it>
Subject Re: [jira] Commented: (HTTPCORE-37) Spring integration for HttpParams
Date Thu, 01 Feb 2007 20:01:49 GMT
Oleg,

Thanks for the suggestions I would have to think about this issue some
more and come back to you later...
>
> This one was not going to be easy. There is no way around having some kind of parameter
type
> discovery mechanism. (1) You might want to consider maintaining a parameter registry
(basically
> a map of Class references keyed by parameter name). This one would be easy but not very
flexible,
> but easy enough (2) Alternatively you may want to consider using reflection to infer
parameter
> types from Http<Whatever>Param classes such as HttpConnectionParams. (3) Just simply
> require a parameter type to be declared in the Spring application context. 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Mime
View raw message