Skip to content

Glossary: Spring Boot Basics

ResponseEntity

Also written: ResponseEntity.of

A whole response: status, headers and body. Methods such as ok, notFound, created and noContent build common ones, and ResponseEntity.of turns an Optional into 200 or 404.

Where the book teaches it

Related terms

HttpStatusStatus code