@ParameterizedTest
    @EnumSource(value = SessionProtocol.class, names = { "H1C", "H2C" })
    void deferredContentPreview(SessionProtocol protocol) {
        final WebClient client = WebClient.of(server.uri(protocol));
        final RequestHeaders headers = RequestHeaders.of(HttpMethod.POST, "/deferred",
                                                         HttpHeaderNames.CONTENT_TYPE, "text/plain");
        final AggregatedHttpResponse res = client.execute(headers, HttpData.ofUtf8("Armeria"))
                                                 .aggregate()
                                                 .join();
        assertThat(res.contentUtf8()).isEqualTo("Hello Armeria!");

        final RequestContext ctx = contextCaptor.get();
        final RequestLog log = ctx.log().whenComplete().join();
        assertThat(log.requestContentPreview()).isEqualTo("Armeria");
        assertThat(log.responseContentPreview()).isEqualTo("Hello Armeria!");
    }
Unlike {@link #contentPreviewBeforeEncoding()}, the content preview of this test is encoded data
because the previewing decorator is inserted after {@link EncodingService}.
core/src/test/java/com/linecorp/armeria/server/logging/ContentPreviewingServiceTest.java