@Override
        public javax.ws.rs.core.NewCookie fromString(String headerValue) {
            final Cookie cookie = Cookie.fromSetCookieHeader(headerValue);
            requireNonNull(cookie, headerValue);
            final CookieConverter converter = new CookieConverter(cookie);
            return converter.toJaxrsSetCookie();
        }
See org.jboss.resteasy.plugins.delegates.NewCookieHeaderDelegate
resteasy/src/main/java/com/linecorp/armeria/internal/common/resteasy/CookieConverter.java