Adapt TestRestTemplate to httpclient5 changes
This commit adapts the `TestRestTemplate` implementation to the httpclient5 API since httpclient 4.x is now unsupported in Spring Framework. See gh-32461
This commit is contained in:
@@ -23,7 +23,7 @@ import java.net.URI;
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import org.apache.http.client.config.RequestConfig;
|
||||
import org.apache.hc.client5.http.config.RequestConfig;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.boot.test.web.client.TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory;
|
||||
|
||||
Reference in New Issue
Block a user