Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-7544

Add support for standard proxy settings in Extension Manager

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.5
    • 3.4
    • Extension
    • None
    • Unknown

    Description

      Right now setting http.proxyHost, http.proxyPort, etc. does not have any effect.

      Looks like the following is the standard way of taking into account standard properties:

      DefaultHttpClient httpclient = new DefaultHttpClient();
      
      ProxySelectorRoutePlanner routePlanner = new ProxySelectorRoutePlanner(
           httpclient.getConnectionManager().getSchemeRegistry(),
           ProxySelector.getDefault());
      
      httpclient.setRoutePlanner(routePlanner); 
      

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: