static <T> ResponseEntity<T> of(ResponseHeaders headers) {
        requireNonNull(headers, "headers");
        return new DefaultResponseEntity<>(headers, null, HttpHeaders.of());
    }
Returns a newly created {@link ResponseEntity} with the specified {@link ResponseHeaders}.
core/src/main/java/com/linecorp/armeria/common/ResponseEntity.java