@FormatMethod
    static AggregatedHttpResponse of(HttpStatus status, MediaType mediaType,
                                     @FormatString String format, Object... args) {
        requireNonNull(status, "status");
        requireNonNull(mediaType, "mediaType");
        requireNonNull(format, "format");
        requireNonNull(args, "args");
        return of(status,
                  mediaType,
                  String.format(Locale.ENGLISH, format, args).getBytes(
                          mediaType.charset(StandardCharsets.UTF_8)));
    }
Creates a new HTTP response of the specified {@link HttpStatus}. The content of the response is
formatted by {@link String#format(Locale, String, Object...)} with
{@linkplain Locale#ENGLISH English locale}.

@param mediaType the {@link MediaType} of the response content
@param format {@linkplain Formatter the format string} of the response content
@param args the arguments referenced by the format specifiers in the format string

@throws IllegalArgumentException if the specified {@link HttpStatus} is
                                 {@linkplain HttpStatus#isInformational() informational}.
core/src/main/java/com/linecorp/armeria/common/AggregatedHttpResponse.java