code: public static HttpResponseWriter aggregateFrom(Stream<?> stream,
                                                     HttpHeaders headers, HttpHeaders trailingHeaders,
                                                     Function<Object, HttpData> contentConverter,
                                                     Executor executor) {
          requireNonNull(stream, "stream");
          requireNonNull(headers, "headers");
          requireNonNull(trailingHeaders, "trailingHeaders");
          requireNonNull(contentConverter, "contentConverter");
          requireNonNull(executor, "executor");
  
          return aggregateFrom(collectFrom(stream, executor),
                               headers, trailingHeaders, contentConverter);
      }
docs: Returns a new {@link HttpResponseWriter} which has a content converted from the collected objects.
  
  @param stream a sequence of objects
  @param headers to be written to the returned {@link HttpResponseWriter}
  @param trailingHeaders to be written to the returned {@link HttpResponseWriter}
  @param contentConverter converts the collected objects into a content of the response
  @param executor executes the collecting job