Annotation Interface RequestMappingOverride
Annotation allows override existing request mapping, defined by
@RequestMapping annotation. It
can be used, to set priorities for methods with identical @RequestMapping annotation. Thanks to that, error
like java.lang.IllegalStateException: Ambiguous mapping found.., can be avoided. Method with highest priority will be
added as handler mapping.-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionName for property, which stores priority value
-
Element Details
-
priorityProperty
String priorityPropertyName for property, which stores priority value- Default:
- ""
-