EncoderHttpMessageWriter takes advantage of the Encoder#encodeValue that's new in 5.2 in order to produce a Mono<DataBuffer> instead of producing a Flux<DataBuffer> and then using flux.singleOrEmpty(). Closes gh-22952
EncoderHttpMessageWriter takes advantage of the Encoder#encodeValue that's new in 5.2 in order to produce a Mono<DataBuffer> instead of producing a Flux<DataBuffer> and then using flux.singleOrEmpty(). Closes gh-22952