@Override
        public String toString(javax.ws.rs.core.NewCookie setCookie) {
            final CookieConverter converter = new CookieConverter(setCookie);
            return converter.toSetCookieHeader();
        }
See org.jboss.resteasy.plugins.delegates.NewCookieHeaderDelegate
resteasy/src/main/java/com/linecorp/armeria/internal/common/resteasy/CookieConverter.java