SpringBoot: Difference between revisions
| Line 2: | Line 2: | ||
* SpringBoot Autoconfiguration | * SpringBoot Autoconfiguration | ||
* Dispatcher Servlet | * Dispatcher Servlet | ||
==Configuration== | |||
\test1\src\main\resources\applircation.properties | |||
logging.level.org.springframework = debug | |||
==Implementation== | ==Implementation== | ||
Revision as of 10:01, 7 February 2021
Concepts
- SpringBoot Autoconfiguration
- Dispatcher Servlet
Configuration
\test1\src\main\resources\applircation.properties logging.level.org.springframework = debug
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")