public String toCookieHeader() {
        return cookie.toCookieHeader();
    }
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