Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B473D200B8B for ; Tue, 4 Oct 2016 14:03:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B3087160AC5; Tue, 4 Oct 2016 12:03:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EF4B1160ADC for ; Tue, 4 Oct 2016 14:03:21 +0200 (CEST) Received: (qmail 32955 invoked by uid 500); 4 Oct 2016 12:03:20 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 32727 invoked by uid 99); 4 Oct 2016 12:03:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2016 12:03:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 856132C002D for ; Tue, 4 Oct 2016 12:03:20 +0000 (UTC) Date: Tue, 4 Oct 2016 12:03:20 +0000 (UTC) From: "Julian Sedding (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HTTPCLIENT-1778) [OSGi] simplify handling of ManagedService based configurations MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 04 Oct 2016 12:03:22 -0000 [ 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}} 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}} 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}} 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