You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Julian Sedding (JIRA)" <ji...@apache.org> on 2016/10/04 11:24:21 UTC
[jira] [Created] (HTTPCLIENT-1778) [OSGi] simplify handling of
ManagedService based configurations
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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org