static AggregatedMultipart of(String boundary, Iterable<? extends AggregatedBodyPart> bodyParts) {
        requireNonNull(boundary, "boundary");
        requireNonNull(bodyParts, "bodyParts");

        return new DefaultAggregatedMultipart(boundary, ImmutableList.copyOf(bodyParts));
    }
Returns a new {@link AggregatedMultipart} with the specified {@code boundary}.

@param boundary the boundary of the multipart message
@param bodyParts the body part of the multipart message
core/src/main/java/com/linecorp/armeria/common/multipart/AggregatedMultipart.java