[ 
https://issues.apache.org/jira/browse/HTTPCORE-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541342
 ] 

Stojce Dimski commented on HTTPCORE-37:
---------------------------------------

I am afraid that implementing HttpParams interface is of no benefit...
In their current form those decorators have required dependency on one 
HttpParams instance. This dependency is checked on their instantiation time and 
if null it is developer error and whole thing will fail fast... This is a whole 
point of these beans and all of this is lost with your patch...

> Spring integration for HttpParams
> ---------------------------------
>
>                 Key: HTTPCORE-37
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-37
>             Project: HttpComponents Core
>          Issue Type: Improvement
>          Components: HttpCore Spring
>         Environment: Spring 2.0
>            Reporter: Stojce Dimski
>            Assignee: Oleg Kalnichevski
>             Fix For: 4.0-beta1
>
>         Attachments: httpCoreParams.zip, param-beans.patch, 
> springHttpParams.zip
>
>
> I quickly prototyped a simple spring integration trough HttpParamsFactoryBean 
> which load parameters from external .properties file and decodes them into 
> HttpParams.
> Approach at solving this issue is pretty 'pragmatic' as would tell Roland, 
> but works like charm for me ;-)

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