Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-4162

Improve Opensocial HttpFetcher to user ProxySelector instead of Provider<Proxy>

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.3 RC
    • Fix Version/s: 5.3 GA
    • Component/s: None

      Description

      Due to a shindig bug (http://issues.apache.org/jira/browse/SHINDIG-718), the proxy configuration is injected via Guice. This prevent using different proxy configuration based on the URI we want to fetch.

      Solution :
      Override the injected BasicHttpFetcher by a new one that is base on the java.net.ProxySelector method to select proxy.
      The ProxySelector is injected by Guice the same way, but constructed by the OpenSocial Component

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: