Loading tutorials
spring-boot-starter-web that starts, and that you know HTTP methods and status codes. Later chapters cover reading data from the request. Here you learn how a request reaches a Java method at all.2 min readspring-boot-starter-web), know basic Java, and understand HTTP methods and status codes. You should also have seen @PathVariable in the previous chapter.3 min read@PathVariable and @RequestParam annotations from the previous chapters. It covers how Spring turns the text in a URL into the Java types in your method signature.2 min readspring-boot-starter-web project, and understand HTTP methods, status codes, headers, and JSON syntax.2 min read@RequestBody. You should know basic Java records and the JSON syntax. Here you will see how Jackson turns a JSON body into the object your handler receives, and where that conversion goes wrong.2 min read@RequestBody.2 min read@PathVariable, @RequestParam, and @Valid on request bodies. It also assumes Spring Boot 3.2 or later, which includes Spring Framework 6.1.2 min read@RequestParam and Bean Validation with @Valid from the earlier chapters. It also assumes Spring Boot 3.2 or later (Spring Framework 6.1+), which affects the exception types shown below.2 min read@PathVariable, @RequestParam, @RequestBody, and @Valid. It also assumes you have a Spring Boot web project that runs. Here you will see which exceptions Spring throws when input is wrong, and how to turn them into one consis2 min read@PathVariable, @RequestParam, and @RequestBody used on their own.3 min readBookController, CreateBookRequest, and ApiExceptionHandler from the earlier chapters. It also assumes a Book record with id, title, author, and pages, and a BookService bean. You should know basic JUnit and Mockito.2 min read