java.lang.Object
io.camunda.connector.http.base.client.apache.proxy.ProxyHandler

public class ProxyHandler extends Object
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
The proxy configuration can be set for both HTTP and HTTPS protocols (for the target URL), allowing different proxy configurations for each protocol.