@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Documented public @interface FrameworkMapping
RequestMapping except it is used inside FrameworkController and
FrameworkRestController controllers.
This reasoning for this annotation instead of just using RequestMapping is that when framework controllers
haven't been enabled and a framework controller is extended by a class annotated with Controller or RestController then the
undesired RequestMappings will get picked up once again due to Spring's annotation inheritance mechanics.
RequestMapping,
FrameworkController,
FrameworkRestController,
FrameworkGetMapping,
FrameworkPostMapping,
FrameworkPutMapping,
FrameworkDeleteMapping,
FrameworkPatchMappingpublic abstract String name
RequestMapping.name()@AliasFor(value="path") public abstract String[] value
RequestMapping.value()@AliasFor(value="value") public abstract String[] path
RequestMapping.path()public abstract org.springframework.web.bind.annotation.RequestMethod[] method
RequestMapping.method()public abstract String[] params
RequestMapping.params()public abstract String[] headers
RequestMapping.headers()public abstract String[] consumes
RequestMapping.consumes()public abstract String[] produces
RequestMapping.produces()Copyright © 2019. All rights reserved.