SpringBoot知识点

SpringBoot四大组件:

1, starter 开箱即用

2, autoconfiguration

3,actuator监控

4.SpringBoot CLI 

常用注解:

@RestController :

@GetMapping

常用配置:

logging.level.root = info

//actuator management.server.port
=9999 //自定义监控端口,不影响服务性能 management.endpoints.web.exposure.include=* // management.endpoint.health.show-details=always // management.endpoint.shutdown.enabled=true

其它 : 

google 浏览器插件:jsonviewer 自动解析返回的json

原文地址:https://www.cnblogs.com/hero123/p/12951518.html