@Override
    protected void applyCookies() {
        final List<String> cookieValues =
                getCookies().values().stream()
                            .flatMap(Collection::stream)
                            .map(ArmeriaServerHttpResponse::toSetCookie)
                            .collect(toImmutableList());
        if (!cookieValues.isEmpty()) {
            armeriaHeaders.add(HttpHeaderNames.SET_COOKIE, cookieValues);
        }
    }
A {@link ServerHttpResponse} implementation for the Armeria HTTP server.
spring/boot3-webflux-autoconfigure/src/main/java/com/linecorp/armeria/spring/web/reactive/ArmeriaServerHttpResponse.java