static Cookies fromSetCookieHeaders(boolean strict, String... setCookieHeaders) {
        requireNonNull(setCookieHeaders, "setCookieHeaders");
        if (setCookieHeaders.length == 0) {
            return Cookies.of();
        }

        final ImmutableSet.Builder<Cookie> builder =
                ImmutableSet.builderWithExpectedSize(setCookieHeaders.length);
        for (String v : setCookieHeaders) {
            requireNonNull(v, "setCookieHeaders contains null.");
            final Cookie cookie = fromSetCookieHeader(strict, v);
            if (cookie != null) {
                builder.add(cookie);
            }
        }

        return Cookies.of(builder.build());
    }
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