Annotation Interface CustomRequestMapping


@Target({METHOD,TYPE}) @Retention(RUNTIME) @Documented public @interface CustomRequestMapping
Custom RequestMapping that matches based on one or more CustomRequestCondition classes. When building the request mapping info, beans will be created of every CustomRequestCondition class added as value.

Supports both type and method-level annotations, and can be used as a meta-annotation for creating your own custom request mapping annotations. A request must match all conditions before it will be considered.

See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The CustomRequestCondition implementations that should be created and against which a request must match before the handler method will be considered.