Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: M1, M2, 0.9, 0.91, 0.92, 0.93, 0.94, 0.95, 0.96, 1.0, 1.1, 1.1.1
    • Fix Version/s: nightly
    • Component/s: transports
    • Labels:
      None
    • Environment:
      Any

      Description

      If you use the Java HTTP classes then you can set the HTTP Proxy using:

      java -Dhttp.proxyhost=myproxyserver.com -Dhttp.proxyport=80 MyJavaApp

      http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html

      Basically there is a set of Java System Properties that control http proxying. This is really important because typically users don't want to have to recode applications to use HTTP proxies. Because these are picked up from the command line they don't have to be hardcoded.

      Unfortunately, because commons.http doesn't use these, we don't get this benefit.

      My proposal is that we add support for these system properties. If they are set then we should use them. There are a bunch of http. properties. I would be happy if we just supported these three:

      http.proxyHost (default: <none>)
      http.proxyPort (default: 80 if http.proxyHost specified)
      http.nonProxyHosts (default: <none>

      But if we did the rest that would be cool.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Saminda Wishwajith Abeyruwan
            Reporter:
            Paul Fremantle
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 8h
              8h
              Remaining:
              Remaining Estimate - 8h
              8h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development