From: Kai Moritz Date: Thu, 21 Nov 2019 12:59:34 +0000 (+0100) Subject: WIP: TMP - WebClient X-Git-Tag: wip-webclient~28 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=57e8fca38ddbef8e14edf444ddeb5f1087167ef9;p=facebook-errors WIP: TMP - WebClient --- diff --git a/src/test/java/de/juplo/facebook/errors/GraphApiExchangeFilterFunctionIntegrationTest.java b/src/test/java/de/juplo/facebook/errors/GraphApiExchangeFilterFunctionIntegrationTest.java index a10066b..743f6be 100644 --- a/src/test/java/de/juplo/facebook/errors/GraphApiExchangeFilterFunctionIntegrationTest.java +++ b/src/test/java/de/juplo/facebook/errors/GraphApiExchangeFilterFunctionIntegrationTest.java @@ -100,7 +100,7 @@ public class GraphApiExchangeFilterFunctionIntegrationTest .builder() .clientConnector(new JettyClientHttpConnector()) .baseUrl(server.url("/").toString()) - .filter(ExchangeFilterFunction.ofResponseProcessor(response -> + .filter((request, next) -> next.exchange(request).flatMap(response -> { List headerValues = response.headers().header("Foo"); return headerValues.isEmpty() ? Mono.error(