Julian Sedding created HTTPCLIENT-1778:
------------------------------------------
Summary: [OSGi] simplify handling of ManagedService based
configurations
Key: HTTPCLIENT-1778
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1778
Project: HttpComponents HttpClient
Issue Type: Improvement
Components: HttpClient (classic)
Affects Versions: 5.0 Alpha1, 4.5.2
Reporter: Julian Sedding
Assignee: Julian Sedding
Priority: Minor
The handling of both the {{ProxyConfiguration}}s and the
{{TrustedHostsConfiguration}} can be greatly simplified. Currently the
consumers of these objects retrieve them from the OSGi framework. Since all of
these objects are mutable singletons and are continually updated to reflect the
latest configuration, it is unnecessary to get them over and over again from
the framework.
The {{ProxyConfiguration}}s can be handed down as a
{{List<ProxyConfiguration>}} and the {{TrustedHostsConfiguration}} can be
handed down as-is.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]