cloudfoundry / cf-java-client

Java Client Library for Cloud Foundry
Apache License 2.0
328 stars 318 forks source link

Could the client detect proxy configuration from the 'environment'? #533

Open kdvolder opened 8 years ago

kdvolder commented 8 years ago

What I mean is the JVM hosting the client, if executing in a proxied environment will probably be already configured to work with the proxy.

For example by having system properties like https.proxyHost and https.proxyPort set.

Or via something like this: https://java.com/en/download/help/proxy_setup.xml

Or a number of other ways I might be missing.

In other words the cf java client should strive to pick up proxy configuration automatically in a similar way that the JREs built-in http client libraries do.

cf-gitbot commented 8 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/126818379

The labels on this github issue will be updated when the story is started.