Reputation: 49431
We are using the Spring Reactive Web Client
and I am trying to find the actual Json within the response object. Within the following code when I have a breakpoint set. The Json that we know is being returned, is not in the body object that I would expect. Or I cant find it...
private <T> Publisher<T> handleBodyFlux(ClientResponse response, Flux<T> body) {
body = body.onErrorResume(WebClientUtils.WRAP_EXCEPTION_PREDICATE, exceptionWrappingFunction(response));
Mono<T> result = applyStatusHandlers(response);
return (result != null ? result.flux().switchIfEmpty(body) : body);
Upvotes: 0
Views: 24