判断题
在Spring Boot中,使用@RestController注解的类会自动注册为Spring MVC的控制器。
正确(↓↓↓ 点击‘点击查看答案’看答案解析 ↓↓↓)
判断题 Spring Boot Actuator模块提供了/shutdown端点,该端点默认是启用的,允许远程关闭应用。
判断题 在Spring Boot中,可以通过@SpringBootApplication注解来替代@Configuration、@EnableAutoConfiguration和@ComponentScan三个注解。
判断题 使用Spring Boot时,必须创建一个继承自SpringBootServletInitializer的类,以将应用部署到外部的Servlet容器中。