Spring / Spring Webflux Interview questions
What is bodyToFlux?
Similar to bodyToMono, however here it is used to to retrieve a collection resource of type Flux from endpoint /stocks.
Flux<Stock> stockFluxObj = client.get() .uri("/stocks") .retrieve() .bodyToFlux(Stock.class); stockFluxObj.subscribe(System.out::println);
More Related questions...