Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass http proxy on java command line #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

klarose
Copy link

@klarose klarose commented Aug 24, 2022

Often if we need a proxy to access the resources required by the java
app, the java app itself may need a proxy to access anything it
interacts with (e.g. APIs). Sometimes the env vars such as HTTP_PROXY
are insufficient to enable the proxy. Instead, it must be passed in on
the java command line. Hook this up.

At the same time, allow the launching application to force the proxies
to be used, even if the system would otherwise indicate not to. This
allows the launching application to use a different default proxy than
the system's configuration would.

Often if we need a proxy to access the resources required by the java
app, the java app itself may need a proxy to access anything it
interacts with (e.g. APIs). Sometimes the env vars such as HTTP_PROXY
are insufficient to enable the proxy. Instead, it must be passed in on
the java command line. Hook this up.

At the same time, allow the launching application to force the proxies
to be used, even if the system would otherwise indicate not to. This
allows the launching application to use a different default proxy than
the system's configuration would.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant