@RestController

From NovaOrdis Knowledge Base
Revision as of 18:49, 12 March 2019 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

Internal

Overview

A convenience stereotype 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.