From 275e05949310906ca62356d76dccda522d93ab7e Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Thu, 21 Nov 2019 20:42:52 +0100 Subject: [PATCH] WIP: WebClient -- ExchangeFilterFunction.ofResponseProcessor() ersetzt --- .../errors/GraphApiExchangeFilterFunctionIntegrationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/de/juplo/facebook/errors/GraphApiExchangeFilterFunctionIntegrationTest.java b/src/test/java/de/juplo/facebook/errors/GraphApiExchangeFilterFunctionIntegrationTest.java index 8d21cc5..6304665 100644 --- a/src/test/java/de/juplo/facebook/errors/GraphApiExchangeFilterFunctionIntegrationTest.java +++ b/src/test/java/de/juplo/facebook/errors/GraphApiExchangeFilterFunctionIntegrationTest.java @@ -132,7 +132,7 @@ public class GraphApiExchangeFilterFunctionIntegrationTest public static ExchangeFilterFunction errorHandlingFilter() { - return ExchangeFilterFunction.ofResponseProcessor(response -> + return (request, next) -> next.exchange(request).flatMap(response -> { if (response.statusCode() != null && (response.statusCode() .is5xxServerError() || response.statusCode().is4xxClientError())) -- 2.20.1