Spring Boot 1.x# Building RESTful Web Services Rest Controller Request Mapping Request Body Path Variable Request Parameter GET API POST API PUT API DELETE API Rest Template GET POST PUT DELETE Service Components References Exception Handling Controller Advice Exception Handler Interceptor Servlet Filter File Handling File Upload File Download References Thymeleaf Consuming RESTful Web Services Internationalization References CORS Support Cross-Origin Requests Enable CORS in Controller Method Global CORS Configuration Making a Pre-flight Request The Solution How does it work? Filter based CORS support Tips 浏览器的同源策略 跨域解决方案 References Actuator Enabling Spring Boot Actuator References Enabling Swagger2 References Hystrix References Kafka Prerequisites References Unit Test Unit Test Cases Mockito Rest Controller Unit Test Writing a Unit Test for REST Controller References Get all loaded beans Get all loaded beans with Class Type Information Using ApplicationContext to get all loaded beans Results References