static AggregatedHttpRequest of(RequestHeaders headers, HttpData content, HttpHeaders trailers) {
        requireNonNull(headers, "headers");
        requireNonNull(content, "content");
        requireNonNull(trailers, "trailers");

        return new DefaultAggregatedHttpRequest(maybeModifyContentLength(headers, content), content, trailers);
    }
Creates a new HTTP request.

@param headers the HTTP request headers
@param content the content of the request
@param trailers the HTTP trailers
core/src/main/java/com/linecorp/armeria/common/AggregatedHttpRequest.java