public void setProxyOptions(URI proxyUri, HttpClientOptions vxClientOptions) {
        this.resolveProxy(proxyUri).ifPresent(proxy -> {
            ProxyOptions proxyOptions = new ProxyOptions();
            proxyOptions.setHost(proxy.getHost());
            proxyOptions.setPort(proxy.getPort());
            proxyOptions.setType(translateProxyType(proxy));

            proxy.getCredentials().ifPresent((credentials) -> {
                proxyOptions.setUsername(credentials.getPrinciple());
                proxyOptions.setPassword(credentials.getPasswordAsString());
            });

            vxClientOptions.setProxyOptions(proxyOptions);
        });
    }
Set proxy options on vxClientOptions derived from System properties.

@param proxyUri proxy URI
@param vxClientOptions Vert.x client options to mutate
gateway/platforms/vertx3/vertx3/src/main/java/io/apiman/gateway/platforms/vertx3/engine/proxy/SysPropsProxySelector.java