Is it possible to extract response body In Spring WebClient?
I want to intercept requests and responses with the body in Sprin WebClient. I'm unfamiliar with this technology and don't know how I should do it. My first idea was to use ExchangeFilterFunction and it is enough to extract the response body. When I want to get a response body I have a problem. This is my example code.
override fun filter(request: ClientRequest, next: ExchangeFunction): Mono {
logger.debug { "Request: $request" }
val receiver: InsertionReceiver =...