Spring 5 WebFlux: WebClient and WebTestClient

WebClient is part of Spring 5’s reactive web framework called Spring WebFlux...

webClient
  .post()  
  .uri("/uri")
  .header(...)
  .retrieve().bodyToFlux(Clazz.class);
  Or 
  .retrieve().bodyToMono(Clazz.class);

Go to: https://www.callicoder.com/spring-5-reactive-webclient-webtestclient-examples/