anchor.diff:  ----
   include::initial/src/main/java/hello/HelloController.java[]
   ----
  -    
  +
   The class is flagged as a `@RestController`, meaning it's ready for use by Spring MVC to handle web requests. `@RequestMapping` maps `/` to the `index()` method. When invoked from a browser or using curl on the command line, the method returns pure text. That's because `@RestController` combines `@Controller` and `@ResponseBody`, two annotations that results in web requests returning data rather than a view.
   
   == Create an Application class
  
positive.code: 
  They include: errors, http://localhost:8080/env[environment], http://localhost:8080/health[health], http://localhost:8080/beans[beans], http://localhost:8080/info[info], http://localhost:8080/metrics[metrics], http://localhost:8080/trace[trace], http://localhost:8080/configprops[configprops], and http://localhost:8080/dump[dump].
  
  NOTE: There is also a `/shutdown` endpoint, but it's only visible by default via JMX. To http://docs.spring.io/spring-boot/docs/{spring_boot_version}/reference/htmlsingle/#production-ready-customizing-endpoints[enable it as an HTTP endpoint], add 
  `endpoints.shutdown.enabled=true` to your `application.properties` file.
  
  It's easy to check the health of the app.
  
negative.code: This is only a small sampling of what Spring Boot can do. Checkout http://docs.spring.io/spring-boot/docs/{spring_boot_version}/reference/htmlsingle[Spring Boot's online docs]
  if you want to dig deeper.
  
  == See Also
  
  The following guides may also be helpful:
  
  * https://spring.io/guides/gs/securing-web/[Securing a Web Application]
  * https://spring.io/guides/gs/serving-web-content/[Serving Web Content with Spring MVC]
  
  include::https://raw.githubusercontent.com/spring-guides/getting-started-macros/master/footer.adoc[]
  