# Spring Boot MVC Example **Repository Path**: angrynut/Spring-Boot-Example ## Basic Information - **Project Name**: Spring Boot MVC Example - **Description**: No description available - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-12-30 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Spring Boot Example 演示了以下内容: * Spring MVC 基本用法 - 基于注解的 handler (`@Controller`/`@RestController`) - 基于 bean 名字的 handler。 - 异常处理 - 异步请求:`Callable` 和 `DeferredResult` - Bean 作用域 - 事件监听 `@EventListener` - 请求中的参数获取: * `@RequestParam` * `@PathVariable` * `@RequestBody` * `@RequestHeader` * `@ModelAttribute` - `HandlerInterceptor` - 用在方法上的 `@ModelAttribute` - 自定义视图(`XlsView`) - 校验 * [Java Bean Validation Specification](http://beanvalidation.org/1.1/spec/) * Spring Validation - 类型转换(`Converter` 接口) * Spring Boot 的相关功能 - 使用 `@ConfigurationProperties` 注解。[点此查看](docs/boot/config-props.md) - Spring Boot Actuator。[点此查看](docs/boot/actuator-endpoints.md) * 自定义 actuator endpoint * 增加自己的 actuator metric * 增加自己的 actuator health indicator * 编写自己的 actuator trace repository - 使用 `Servlet` 和 `Filter` * Thymeleaf 集成(没有 Thymeleaf 的用法的演示) * Mybatis 集成(SQL 语句的 XML 配置和注解配置) * 使用 lombok。[点此查看](docs/lombok.md) * 集成 Alibaba Druid。[点此查看](docs/druid.md)