Class ProxyHandler
java.lang.Object
io.camunda.connector.http.base.client.apache.proxy.ProxyHandler
This class is responsible for handling proxy configuration. It reads the proxy configuration from
environment variables and provides the proxy details and credentials provider for a given
protocol. Here's the list of environment variables that are used to configure the proxy:
- CONNECTOR_HTTP(S)_PROXY_SCHEME (default: http)
- CONNECTOR_HTTP(S)_PROXY_HOST
- CONNECTOR_HTTP(S)_PROXY_PORT
- CONNECTOR_HTTP(S)_PROXY_USER
- CONNECTOR_HTTP(S)_PROXY_PASSWORD
- CONNECTOR_HTTP_NON_PROXY_HOSTS
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hc.client5.http.auth.CredentialsProvidergetCredentialsProvider(String protocol) getProxyDetails(String protocol)
-
Field Details
-
CONNECTOR_HTTP_NON_PROXY_HOSTS_ENV_VAR
- See Also:
-
HTTP
- See Also:
-
HTTPS
- See Also:
-
-
Constructor Details
-
ProxyHandler
public ProxyHandler()
-
-
Method Details
-
getProxyDetails
-
getCredentialsProvider
-