目录 仓库坐标 自动配置 提供 Spring Web MVC 环境下的自动配置增强,包括请求上下文在线程间传递。 仓库坐标 Maven <dependency> <groupId>com.luamas.thinkbridge</groupId> <artifactId>web-spring-boot-starter</artifactId> </dependency> Gradle implementation("com.luamas.thinkbridge:web-spring-boot-starter") 自动配置 自动注册 RequestAttributesTaskHandlerInterceptor,确保在使用 @Async 或线程池时,RequestAttributes 能够正确传递到子线程中。 此模块仅对 Servlet 环境生效,WebFlux 环境请使用 webflux-spring-boot-starter。