Chapter 11. Controller method return types supported in Quarkus
The following method return types are supported when using Spring Web on Quarkus:
- Primitive types
- String (Used as a literal. Quarkus does not support Spring MVC view)
- POJO classes that are serialized using JSON
-
org.springframework.http.ResponseEntity