Fixing compile errors for new Boot and Spring Framework versions
This commit is contained in:
@@ -257,6 +257,12 @@ public class RetryableFeignBlockingLoadBalancerClient implements Client {
|
||||
return URI.create(request.url());
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<String, Object> getAttributes() {
|
||||
Map<String, Object> attributes = new HashMap<>(request.requestTemplate().queries());
|
||||
return attributes;
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpHeaders getHeaders() {
|
||||
Map<String, List<String>> headers = new HashMap<>();
|
||||
|
||||
@@ -87,7 +87,11 @@ public class SpringDecoder implements Decoder {
|
||||
return HttpStatusCode.valueOf(response.status());
|
||||
}
|
||||
|
||||
@Override
|
||||
@Deprecated
|
||||
/**
|
||||
* This method used to override a method from ClientHttpResponse interface but was
|
||||
* removed in Spring Framework 6.2 so we should remove it as well.
|
||||
*/
|
||||
public int getRawStatusCode() {
|
||||
return response.status();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user