hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Sedding (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HTTPCLIENT-1778) [OSGi] simplify handling of ManagedService based configurations
Date Tue, 04 Oct 2016 12:03:20 GMT

     [ 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


Mime
View raw message