Annotation Interface BasePathAwareController


@Documented @Component @Retention(RUNTIME) @Target({TYPE,ANNOTATION_TYPE}) public @interface BasePathAwareController
Annotation to declare a controller that declares request mappings to be augmented with a base URI in the Spring Data REST configuration.
Author:
Oliver Gierke, Yves Galante
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The root path to be prepended to all request mappings configured on handler methods.
    The root path to be prepended to all request mappings configured on handler methods.
  • Element Details

    • value

      @AliasFor("path") String[] value
      The root path to be prepended to all request mappings configured on handler methods.
      Returns:
      Since:
      3.7.2
      See Also:
      Default:
      {}
    • path

      @AliasFor("value") String[] path
      The root path to be prepended to all request mappings configured on handler methods.
      Returns:
      Since:
      3.7.2
      See Also:
      Default:
      {}