Move to SNAPSHOTs
* Downgrade to Micrometer-1.10.0 * Updates according compatibility with the latest SF changes
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2017-2021 the original author or authors.
|
||||
* Copyright 2017-2022 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -27,7 +27,7 @@ import org.springframework.expression.Expression;
|
||||
import org.springframework.expression.common.LiteralExpression;
|
||||
import org.springframework.http.HttpEntity;
|
||||
import org.springframework.http.HttpMethod;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.HttpStatusCode;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.http.ReactiveHttpInputMessage;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
@@ -303,7 +303,7 @@ public class WebFluxRequestExecutingMessageHandler extends AbstractHttpRequestEx
|
||||
Object expectedResponseType) {
|
||||
|
||||
return requestSpec.retrieve()
|
||||
.onStatus(HttpStatus::isError, ClientResponse::createException)
|
||||
.onStatus(HttpStatusCode::isError, ClientResponse::createException)
|
||||
.toEntityFlux(createBodyExtractor(expectedResponseType));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user