spring_auto_configuration library
The beans the web starter adds to an application: the server, the dispatcher, the controller mapping, sessions and uploads.
The generator finds this library in every dependency that has one and
registers its module, so listing the starter in pubspec.yaml is
enough; Spring Boot finds its auto-configurations through
AutoConfiguration.imports the same way. Applications do not import
it; a test that builds a context by hand may name
springBootStarterWebAutoConfiguration.
Properties
- springBootAutoConfiguration → BeanModule
-
The auto-configuration of
spring_boot_dart:MessageSourceAutoConfiguration,JacksonAutoConfiguration,JsonSchemaAutoConfiguration,ValidationAutoConfiguration,LifecycleAutoConfiguration,ApplicationAvailabilityAutoConfiguration,ObservationAutoConfigurationandIsolateAutoConfiguration.final - springBootObservedAnnotationsAutoConfiguration → BeanModule
-
@Observedput into effect (ObservedAnnotationsAutoConfiguration): in the build only withspring.observations.annotations.enabled: true, so without it no proxy is written for the beans marked@Observed.final - springBootStarterLoggingAutoConfiguration → BeanModule
-
The beans that install the logging system when the context starts and
make
LoggingSystemandLogBufferinjectable; all off withlogging.enabled=false.final - springBootStarterWebAutoConfiguration → BeanModule
-
The web starter's auto-configuration module: the bean definitions of
webMvcAutoConfiguration. Only where a server can run (ModulePlatform.native): a browser build has none of it.final - springBootStarterWebDebugQpsAutoConfiguration → BeanModule
-
The debug feature
qps: requests per second, logged and answered by the actuator'sqpsendpoint. In the build only withspring.web.debug.qps.enabled: true: without it the application has no code that counts its requests.final - springBootStarterWebRateLimitAutoConfiguration → BeanModule
-
The rate limiter (
spring.web.rate-limit.*,@RateLimiter): the beans ofrateLimitAutoConfiguration, registered when it is on.final