hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stojce Dimski (JIRA)" <j...@apache.org>
Subject [jira] Created: (HTTPCLIENT-748) make SchemeRegistry friendlier for DI frameworks
Date Fri, 15 Feb 2008 15:20:08 GMT
make SchemeRegistry friendlier for DI frameworks
------------------------------------------------

                 Key: HTTPCLIENT-748
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-748
             Project: HttpComponents HttpClient
          Issue Type: Improvement
          Components: HttpConn
            Reporter: Stojce Dimski
            Priority: Minor


Scheme's in SchemeRegistry are registered via 'register' method, but there is no way to pass
it a set of schemes so those can be registered in one step. This way it can be externally
configured and 'spring/guice friendly'... something like this is sufficient...

public void setSchemes (final Set <Scheme> schemes) {
    for (final Scheme scheme : schemes) 
        register(scheme);    
}


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