public static ServerWebExchange rewriteResponseBody(final ServerWebExchange exchange,
                                                        final Function<String, String> convert) {
        return exchange.mutate()
                .response(new ResponseDecorator(exchange, convert)).build();
    }
Rewrites Response Body.

@param exchange serverWebExchange
@param convert  convert body to new body
@return Mono.
shenyu-plugin/shenyu-plugin-base/src/main/java/org/apache/shenyu/plugin/base/utils/ServerWebExchangeUtils.java