public static HttpResponseWriter aggregateFrom(Publisher<?> publisher,
                                                   ResponseHeaders headers, HttpHeaders trailers,
                                                   Function<Object, HttpData> contentConverter,
                                                   ServiceRequestContext ctx) {
        requireNonNull(publisher, "publisher");
        requireNonNull(headers, "headers");
        requireNonNull(trailers, "trailers");
        requireNonNull(contentConverter, "contentConverter");

        return aggregateFrom(collectFrom(publisher, ctx), headers, trailers, contentConverter);
    }
Returns a new {@link HttpResponseWriter} which has a content converted from the collected objects.
 @param publisher publishes objects
@param headers to be written to the returned {@link HttpResponseWriter}
@param trailers to be written to the returned {@link HttpResponseWriter}
@param contentConverter converts the collected objects into a content of the response
@param ctx {@link ServiceRequestContext}
core/src/main/java/com/linecorp/armeria/internal/server/ResponseConversionUtil.java