时效提示:本文写于 2020 年,部分 API、配置和工具版本可能已经变化,参考时请以官方最新文档为准。

Spring Web

Support 通过继承这些类,可以继承它全部的属性和方法
实现XXX的全部功能或者部分功能

Keywords Example Description
Configurer WebMvcConfigurer customize the default configuration
ConfigurerAdapter WebMvcConfigurerAdapter An implementation of {@link WebMvcConfigurer} with empty methods allowing subclasses to override only the methods they're interested in

| Configuration | ThymeleafWebMvcConfiguration | XXX配置类 |
| ConfigurationAdapter | WebMvcAutoConfigurationAdapter | Configuration Adapter 继承 |
| ConfigurationSupport | WebMvcConfigurationSupport | 继承然后配置 |