@RestController: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 4: Line 4:


=Overview=
=Overview=
A convenience annotations that it is itself annotated with [[@Controller]] and [[@ResponseBody]]. It is used to designate REST controller components. <font color=darkgray>[[@RequestMapping]] methods assume [[@ResponseBody]] semantics by default.</font>

Revision as of 18:21, 12 March 2019

Internal

Overview

A convenience annotations that it is itself annotated with @Controller and @ResponseBody. It is used to designate REST controller components. @RequestMapping methods assume @ResponseBody semantics by default.