class ReplaceLiveContentExamplePlugin implements Plugin {

    @Override
    public Eventual<LiveHttpResponse> intercept(LiveHttpRequest request, Chain chain) {
        return chain.proceed(request)
                .map(response -> response.newBuilder()
                        .body(body -> body.replaceWith(ByteStream.from(config.replacement(), UTF_8)))
                        .build());
    }

    public  ReplaceLiveContentExamplePlugin(ReplaceLiveContentExampleConfig config);

}