Skip to content

Glossary: Spring Boot Basics

@GetMapping

Also written: @PostMapping, @PutMapping, @DeleteMapping

Connects a handler method to one HTTP method and path. @GetMapping("/hello") answers GET /hello.

Where the book teaches it

Related terms

Controller@RestController