6 The HTTP Server
1 | The class is defined as a controller with the @Controller annotation mapped to the path /hello |
2 | The method will respond to a GET request to and returns a response with a text/plain content type |
3 | By defining method called , by convention the method is exposed via the /hello URI |