@RestController

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

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.