
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
n/a
|
|
Issue Links:
|
Related
|
|
|
|
This issue is related to:
|
|
|
SPR-5058 @RequestMapping: convention-based URL mapping at controller class level
|
|
|
|
|
|
|
|
DefaultAnnotationHandlerMapping presently takes the URLs directly from the @RequestMapping annotation; this could be strategized to build the URLs based on known data at that time, i.e. class name, etc.
For @RequestMapping at the type level, the semantics would be the same as ControllerClassNameHandlerMapping. At the method level, presumably the method name could be appended to the path determined by the enclosing type.
|
|
Description
|
DefaultAnnotationHandlerMapping presently takes the URLs directly from the @RequestMapping annotation; this could be strategized to build the URLs based on known data at that time, i.e. class name, etc.
For @RequestMapping at the type level, the semantics would be the same as ControllerClassNameHandlerMapping. At the method level, presumably the method name could be appended to the path determined by the enclosing type.
|
Show » |
|
We will revisit this in Spring 3.0 for some more fully realized RESTful conventions.
Juergen