.builder()
.clientConnector(new JettyClientHttpConnector())
.baseUrl(server.url("/").toString())
- .filter(ExchangeFilterFunction.ofResponseProcessor(response ->
+ .filter((request, next) -> next.exchange(request).flatMap(response ->
{
List<String> headerValues = response.headers().header("Foo");
return headerValues.isEmpty() ? Mono.error(