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