static Cookies fromCookieHeaders(boolean strict, Iterable<String> cookieHeaders) {
        requireNonNull(cookieHeaders, "cookieHeaders");
        final Iterator<String> it = cookieHeaders.iterator();
        if (!it.hasNext()) {
            return Cookies.of();
        }

        final ImmutableSet.Builder<Cookie> builder = ImmutableSet.builder();
        do {
            final String v = it.next();
            requireNonNull(v, "cookieHeaders contains null.");
            final Cookies cookies = fromCookieHeader(strict, v);
            builder.addAll(cookies);
        } while (it.hasNext());

        return Cookies.of(builder.build());
    }
Decodes the specified {@code "Cookie"} header values into a set of {@link Cookie}s.

@param strict whether to validate that the cookie names and values are in the valid scope
              defined in RFC 6265.
@param cookieHeaders the {@code "Cookie"} header values.
@return the decoded {@link Cookie}s.
core/src/main/java/com/linecorp/armeria/common/Cookie.java