Skip to main content

Chapitre 2 : Bonnes pratiques Spring MVC pour vos APIs

@RequestBody, @ResponseBody, ResponseEntity, Custom status codes, Content negotiation, Error handling

About @RequestBody and @ResponseBody

About @RequestBody and @ResponseBody

Using ResponseEntity to manipulate the HTTP response

Using ResponseEntity to manipulate the HTTP response

Custom status codes using Spring MVC

Custom status codes using Spring MVC

Content negotiation

Content negotiation

Error handling for REST with Spring

Error handling for REST with Spring