Annotation Type RequestMappingOverride


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @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 Elements 
      Modifier and Type Optional Element Description
      java.lang.String priorityProperty
      Name for property, which stores priority value
    • Element Detail

      • priorityProperty

        java.lang.String priorityProperty
        Name for property, which stores priority value
        Default:
        ""