public static ResponseHeaders toArmeria(HttpResponse in) {
        final io.netty.handler.codec.http.HttpHeaders inHeaders = in.headers();
        final ResponseHeadersBuilder out = ResponseHeaders.builder();
        out.sizeHint(inHeaders.size());
        out.status(HttpStatus.valueOf(in.status().code()));
        // Add the HTTP headers which have not been consumed above
        toArmeria(inHeaders, out);
        return out.build();
    }
Converts the headers of the given Netty HTTP/1.x response into Armeria HTTP/2 headers.
core/src/main/java/com/linecorp/armeria/internal/common/ArmeriaHttpUtil.java