public static Function<? super HttpClient, CookieClient> newDecorator(CookieJar cookieJar) {
        requireNonNull(cookieJar, "cookieJar");
        return client -> new CookieClient(client, cookieJar);
    }
Creates a new {@link CookieClient} decorator with a {@link CookieJar} implementation.
core/src/main/java/com/linecorp/armeria/client/cookie/CookieClient.java