static Cookies fromSetCookieHeaders(boolean strict, Collection<String> setCookieHeaders) {
        requireNonNull(setCookieHeaders, "setCookieHeaders");
        if (setCookieHeaders.isEmpty()) {
            return Cookies.of();
        }

        return CookieUtil.fromSetCookieHeaders(ImmutableSet.builderWithExpectedSize(setCookieHeaders.size()),
                                               strict, setCookieHeaders.iterator());
    }
Decodes the specified {@code "Set-Cookie"} header values into {@link Cookie}s.

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