@Override
    public HttpHeaders getHeaders() {
        final HttpHeaders httpHeaders = this.httpHeaders;
        if (httpHeaders != null) {
            return httpHeaders;
        }
        this.httpHeaders = new HttpHeaders();
        toHttp1Headers(headers, this.httpHeaders,
                       (output, key, value) -> output.add(key.toString(), value));
        return this.httpHeaders;
    }
A {@link ClientHttpResponse} implementation for the Armeria HTTP client.
spring/spring6/src/main/java/com/linecorp/armeria/spring/internal/client/ArmeriaClientHttpResponse.java