@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @ResponseBody public @interface FrameworkRestController
This means that if
EnableAllFrameworkControllers is included in the
application configuration then classes annotated with
FrameworkRestController will be component scanned and
included in the application context and that
FrameworkMappings will be added to handler mappings with a lower
RequestMappings found within a class annotated with
RestController. This priority is achieved through
FrameworkControllerHandlerMapping having a higher order value than
The intention is that you are able to specify RESTful controllers and mappings within a framework module as the default REST endpoints and a client application can essentially override those mappings without causing an ambiguous mapping exception.
The site handler mappings in play in order of precedence from highest to lowest are:
The admin handler mappings in play in order of precedence from highest to lowest are:
Copyright © 2019. All rights reserved.