Fix deprecation in the HttpOutboundChannelAdapterParserTests
The SF `6.2.2` has a `ResponseErrorHandler.handleError(ClientHttpResponse)` deprecated **Auto-cherry-pick to `6.4.x`**
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2022 the original author or authors.
|
||||
* Copyright 2002-2025 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.
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
package org.springframework.integration.http.config;
|
||||
|
||||
import java.net.URI;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.util.Map;
|
||||
|
||||
@@ -311,7 +312,7 @@ public class HttpOutboundChannelAdapterParserTests {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handleError(ClientHttpResponse response) {
|
||||
public void handleError(URI url, HttpMethod method, ClientHttpResponse response) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user