2017-10-27 3 views

Antwort

3

Dies sollte die zugrunde liegende Client-Bibliothek unterstützen.

Wenn Reactor Netty verwenden, können Sie so etwas wie tun:

ReactorClientHttpConnector connector = new ReactorClientHttpConnector(options -> options 
    .httpProxy(addressSpec -> { 
     return addressSpec.host("proxyhost"); // or any other method on addressSpec 
    })); 
WebClient client = WebClient.builder().clientConnector(connector).build(); 
Verwandte Themen