web/src/main/java/org/springframework/security/web/server/header/StaticServerHttpHeadersWriter.java
@Override
	public Mono<Void> writeHttpHeaders(ServerWebExchange exchange) {
		HttpHeaders headers = exchange.getResponse().getHeaders();
		boolean containsOneHeaderToAdd = Collections.disjoint(headers.keySet(), this.headersToAdd.keySet());
		if (containsOneHeaderToAdd) {
			this.headersToAdd.forEach((name, values) -> {
				headers.put(name, values);
			});
		}
		return Mono.empty();
	}
@Override
	public Mono<Void> writeHttpHeaders(ServerWebExchange exchange) {
		HttpHeaders headers = exchange.getResponse().getHeaders();
		boolean containsOneHeaderToAdd = Collections.disjoint(headers.keySet(), this.headersToAdd.keySet());
		if (containsOneHeaderToAdd) {
			this.headersToAdd.forEach((name, values) -> {
				headers.put(name, values);
			});
		}
		return Mono.empty();
	}
/* (non-Javadoc)
@see org.springframework.security.web.server.HttpHeadersWriter#writeHttpHeaders(org.springframework.web.server.ServerWebExchange)