0

I want to use Spring 5 Web client for REST connections.

 WebClient.Builder builder = WebClient.builder().baseUrl(gatewayUrl);
    ClientHttpConnector httpConnector = new ReactorClientHttpConnector(opt -> opt.sslContext(sslContext));
    builder.clientConnector(httpConnector);

How I can implement handler for connection timeout?

I checked the code here but I can't find a solution.

Peter Penzov
  • 1,126
  • 134
  • 430
  • 808

0 Answers0