You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Stojce Dimski <sd...@yahoo.it> on 2007/01/31 16:46:10 UTC

HttpRequestHandlerRegistry ?

public void setHandlers(final Properties props)...

Shouldn't this method accept a Map<String, ? extends HttpRequestHandler>
(or as you are using java 1.4 be just java.util.Map) instead of Properties ?

P.S. It would be more easy and foolproof to setup handlers configuration
in spring at least...

Stojce


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


Re: HttpRequestHandlerRegistry ?

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Wed, 2007-01-31 at 16:46 +0100, Stojce Dimski wrote:
> public void setHandlers(final Properties props)...
> 
> Shouldn't this method accept a Map<String, ? extends HttpRequestHandler>
> (or as you are using java 1.4 be just java.util.Map) instead of Properties ?
> 

Hi Stojce,

My bad. Feel free to open a Jira issue for that or / and submit a patch

Oleg

> P.S. It would be more easy and foolproof to setup handlers configuration
> in spring at least...
> 
> Stojce
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
> 
> 


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