@Override
    public HttpStatus getStatusCode() {
        // Raise an IllegalArgumentException if the status code is unknown.
        return HttpStatus.valueOf(status.code());
    }
A {@link ClientHttpResponse} implementation for the Armeria HTTP client.
spring/spring6/src/main/java/com/linecorp/armeria/spring/internal/client/ArmeriaClientHttpResponse.java