Phillip Webb
da516741b2
Consider modules when deducing WebApplicationType
...
Introduce a strategy to `WebApplicationType` to allow modules to
implement deduction logic.
Prior to this commit, modules played no part in deducing the
`WebApplicationType`. This meant that a user with `spring-webflux`
for client purposes would deduce `REACTIVE` despite no
`spring-boot-webflux` module being present.
The following deduction logic order is now implemented:
1) If the `spring-boot-webmvc` module is being used and Spring MVC
classes are found then `SERVLET` is used.
2) If the `spring-boot-webflux` module is being used and Spring WebFlux
classes are found then `REACTIVE` is used.
3) If `spring-web` is found and servlet classes are available then
`SERVLET` is used.
4) If none of the above are satisfied, `NONE` is used.
This commit also updates `SpringBootTestContextBootstrapper` to use
the same deduction logic.
Fixes gh-48517
2025-12-15 20:30:16 -08:00
..
2025-10-28 11:16:23 +01:00
2025-10-28 11:16:23 +01:00
2025-11-25 14:38:33 +00:00
2025-11-25 14:38:33 +00:00
2025-11-25 14:38:33 +00:00
2025-10-28 11:16:23 +01:00
2025-10-28 11:16:23 +01:00
2025-11-25 14:38:33 +00:00
2025-10-28 11:16:23 +01:00
2025-11-17 21:00:09 -08:00
2025-10-28 11:16:23 +01:00
2025-10-28 11:16:23 +01:00
2025-10-28 11:16:23 +01:00
2025-10-28 11:16:23 +01:00
2025-10-28 11:16:23 +01:00
2025-10-16 11:24:42 +02:00
2025-10-28 11:16:23 +01:00
2025-10-16 11:24:43 +02:00
2025-10-28 11:16:23 +01:00
2025-10-28 11:16:23 +01:00
2025-10-28 11:16:23 +01:00
2025-10-28 11:16:23 +01:00
2025-10-28 11:16:23 +01:00
2025-10-28 11:16:23 +01:00
2025-10-28 11:16:23 +01:00
2025-10-31 12:05:25 +01:00
2025-10-28 11:16:23 +01:00
2025-10-28 11:16:23 +01:00
2025-10-17 17:23:35 +02:00
2025-10-28 11:16:23 +01:00
2025-11-25 14:38:33 +00:00
2025-10-28 11:16:23 +01:00
2025-10-28 15:07:34 +01:00
2025-11-25 14:38:33 +00:00
2025-10-28 11:16:23 +01:00
2025-10-28 11:16:23 +01:00
2025-11-20 09:14:46 +00:00
2025-12-05 10:13:04 -08:00
2025-11-25 14:38:33 +00:00
2025-11-25 14:38:33 +00:00
2025-11-25 14:38:33 +00:00
2025-11-25 14:38:33 +00:00
2025-10-29 08:28:58 +01:00
2025-10-28 11:16:23 +01:00
2025-12-12 16:24:45 +01:00
2025-10-16 11:24:45 +02:00
2025-11-25 14:38:33 +00:00
2025-11-25 14:38:33 +00:00
2025-11-25 14:38:33 +00:00
2025-10-28 11:16:23 +01:00
2025-10-16 11:24:46 +02:00
2025-11-25 14:38:33 +00:00
2025-10-16 11:24:46 +02:00
2025-10-28 11:16:23 +01:00
2025-11-25 14:38:33 +00:00
2025-10-31 12:05:25 +01:00
2025-10-31 12:05:25 +01:00
2025-10-28 11:16:23 +01:00
2025-11-25 14:38:33 +00:00
2025-10-28 11:16:23 +01:00
2025-11-25 14:38:33 +00:00
2025-10-31 12:05:25 +01:00
2025-11-25 14:38:33 +00:00
2025-11-25 15:30:48 +00:00
2025-10-28 11:16:23 +01:00
2025-11-25 14:38:33 +00:00
2025-10-16 11:24:48 +02:00
2025-10-16 11:24:48 +02:00
2025-10-16 11:24:48 +02:00
2025-10-28 11:16:23 +01:00
2025-10-16 11:24:48 +02:00
2025-10-28 11:16:23 +01:00
2025-11-25 14:38:33 +00:00
2025-11-25 14:38:33 +00:00
2025-11-25 14:38:33 +00:00
2025-11-25 14:38:33 +00:00
2025-11-25 14:38:33 +00:00
2025-10-16 11:24:49 +02:00
2025-12-15 20:30:16 -08:00
2025-11-25 14:38:33 +00:00
2025-12-08 15:17:54 +01:00
2025-11-25 14:38:33 +00:00
2025-11-25 14:38:33 +00:00
2025-11-25 14:38:33 +00:00
2025-11-25 14:38:33 +00:00
2025-11-25 14:38:33 +00:00
2025-11-25 14:38:33 +00:00
2025-11-25 14:38:33 +00:00
2025-12-08 14:54:53 +01:00
2025-11-25 14:38:33 +00:00
2025-10-31 12:05:25 +01:00
2025-10-28 11:16:23 +01:00
2025-10-16 11:24:50 +02:00
2025-10-16 11:24:51 +02:00
2025-10-16 11:24:51 +02:00