SpringBoot: Difference between revisions
| Line 1: | Line 1: | ||
== | ==Concepts== | ||
* SpringBoot Autoconfiguration | * SpringBoot Autoconfiguration | ||
* Dispatcher Servlet | |||
==Implementation== | ==Implementation== | ||
Revision as of 00:47, 7 February 2021
Concepts
- SpringBoot Autoconfiguration
- Dispatcher Servlet
Implementation
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class HelloWorldController
{
// @RequestMapping(method=RequestMethod.GET, path="/hello-world")
@GetMapping(path="/hello-world")