mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Replace `BaseUrl` and `BaseUrlProvider` provider code with a more targeted `LocalTestWebServer` class. The `LocalTestWebServer` can be used to obtain the url of the locally running server, or provide `UriBuilderFactory` or `UriBuilder` instances base on it. This commit also updates the MockMVC HTML Unit auto-configuration to directly use `localhost` as the base URL. Closes gh-47680