public javax.ws.rs.core.Cookie toJaxrsCookie() {
        return new javax.ws.rs.core.Cookie(cookie.name(), cookie.value(),
                                           cookie.path(), cookie.domain(), version);
    }
A utility to handle conversions between {@link Cookie} and JAX-RS' {javax.ws.rs.core.Cookie} and
{@link javax.ws.rs.core.NewCookie}.
resteasy/src/main/java/com/linecorp/armeria/internal/common/resteasy/CookieConverter.java