@RequestMapping: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 5: Line 5:
=Overview=
=Overview=


General purpose request handling, that can be configured with the type of request to intercept and with the path to respond to.
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 <tt>method</tt> attribute.


=TODO=
=TODO=

Revision as of 17:47, 12 March 2019

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)