Spring Boot Kotlin API
原文:https://docs.spring.io/spring-boot/api/kotlin/index.html (Spring Boot 4.2.0 Kotlin API)
这是 Spring Boot 4.2.0 的 Kotlin API 文档( Dokka ),包含 Spring Boot 为 Kotlin 开发者提供的 API。
Spring Boot 的 Kotlin 支持包括:
runApplication<T>(*args):惯用的应用启动函数,是SpringApplication.run()的替代。- 各种扩展函数,为现有 API 添加 Kotlin 特有的便利功能。
- 对 Kotlin 数据类、
@ConfigurationProperties构造器绑定的支持。 - Kotlin Coroutines 相关的自动配置支持。
文档提供包列表、类/接口/扩展函数列表及详细说明。要了解更多关于 Kotlin 支持的信息,请参阅参考文档的特性部分。