static Cookies of(Cookie... cookies) {
        requireNonNull(cookies, "cookies");
        if (cookies.length == 0) {
            return of();
        } else {
            return new DefaultCookies(ImmutableSet.copyOf(cookies));
        }
    }
Creates an instance with a copy of the specified set of {@link Cookie}s.
core/src/main/java/com/linecorp/armeria/common/Cookies.java