@RequestMapping

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

Internal

Overview

General purpose request handling, that can be configured with the type of request to intercept and with the path to respond to. The HTTP method to map to is specified in the method attribute.

TODO

@RequestMapping("/something")
@RequestMapping(method=RequestMethod.GET)
@RequestMapping(path = "/a", produces = "application/json")