public static Function<? super HttpClient, DecodingClient> newDecorator(
            Iterable<? extends StreamDecoderFactory> decoderFactories) {
        requireNonNull(decoderFactories, "decoderFactories");
        final List<? extends StreamDecoderFactory>
                immutableDecoderFactories = ImmutableList.copyOf(decoderFactories);
        return client -> new DecodingClient(client, immutableDecoderFactories, true, false);
    }
Creates a new {@link DecodingClient} decorator with the specified {@link StreamDecoderFactory}s.
core/src/main/java/com/linecorp/armeria/client/encoding/DecodingClient.java