@Override
        public javax.ws.rs.core.Cookie fromString(String headerValue) {
            final Cookies cookies = Cookie.fromCookieHeader(headerValue);
            checkArgument(!cookies.isEmpty(), headerValue);
            final CookieConverter converter = new CookieConverter(cookies.iterator().next());
            return converter.toJaxrsCookie();
        }
See org.jboss.resteasy.plugins.delegates.CookieHeaderDelegate
resteasy/src/main/java/com/linecorp/armeria/internal/common/resteasy/CookieConverter.java