@Override
    public void addNewCookie(NewCookie cookie) {
        if (committed) {
            throw new IllegalStateException("Already committed");
        }
        cookies.add(SetCookie.of(cookie));
    }
Implements {@link org.jboss.resteasy.spi.HttpResponse}.
resteasy/src/main/java/com/linecorp/armeria/server/resteasy/ResteasyHttpResponseImpl.java