Annotation Type ResponseTemplate
-
@Target(METHOD) @Retention(RUNTIME) public @interface ResponseTemplate
Indicates thatUri
-annotated handler methods use a response template. This annotation provides an alternative to having the handler method return aMap
. It also allows for specifying a custom template path.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
value
The path to the template.
-