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 12:03:20 UTC

[jira] [Updated] (HTTPCLIENT-1778) [OSGi] simplify handling of ManagedService based configurations

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Sedding updated HTTPCLIENT-1778:
---------------------------------------
    Description: 
The handling of both the {{ProxyConfigurations}} 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 {{ProxyConfigurations}} can be handed down as a {{List<ProxyConfiguration>}} and the {{TrustedHostsConfiguration}} can be handed down as-is.

  was:
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.


> [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: 4.5.2, 5.0 Alpha1
>            Reporter: Julian Sedding
>            Assignee: Julian Sedding
>            Priority: Minor
>             Fix For: 4.5.3, 5.0 Alpha2
>
>
> The handling of both the {{ProxyConfigurations}} 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 {{ProxyConfigurations}} 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