@Target(value=METHOD) @Retention(value=RUNTIME) public @interface Get
The method return type can be
ModelAndView which is passed to the ViewResolver to execute the template
The input parameters must be:
| Modifier and Type | Optional Element and Description |
|---|---|
String |
contentType
If specified, will only match on requests with the given content type
|
long |
maxAgeSecs
Default is -1 which means use the system default.
|
String[] |
params
If present, only requests which contain all of the given parameters will
be matched
|