Spring boot Webclient's retrieve vs exchange
问题 I have started using WebClient in my Spring boot project recently. Can somebody throw some light on the differences/usages between exchange and retrieve method in WebClient . I undertand that exchange returns Mono<ClientResponse> and retrieve returns ResponseSpec , I just want to know when/why I should use each one of them. Much Thanks. 回答1: According to spring Webclient api documentation the difference between the two is that exchange retrieve in addition to the body other http response