@Override
    public void setStatus(int status) {
        if (committed) {
            throw new IllegalStateException("Already committed");
        }
        this.status = HttpStatus.valueOf(status);
    }
Implements {@link org.jboss.resteasy.spi.HttpResponse}.
resteasy/src/main/java/com/linecorp/armeria/server/resteasy/ResteasyHttpResponseImpl.java