Articles in this series
This episode story is simple. If we receive response that is list type, we can use flatMapIterable operator(finally return type is Flux). Sometimes, I...
Let's imagine we received the WebClient response data and then binding to ResponseDto. Message value in ResponseDto can be null. public class...
Metric We have to know that It is different between WebClient level metric and reactor.netty level metric which is implementation of WebClient. At...
Change flatMap to map and onErrorResume to onErrorMap AS-IS Let's see the below code. I use clientResponse.createException().flatMap() and ...
1. When we don't need response body There are three options that can use when we don't need response body. releaseBody(), toBodilessEntity(),...
When we use exchangeToMono I explained the WebClient exchange operator in episode1 article. However exchange operator is deprecated so Instead of...