Annotation Type ResponseTemplate

  • @Target(METHOD)
    public @interface ResponseTemplate
    Indicates that 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.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String value
      The path to the template.
    • Element Detail

      • value

        java.lang.String value
        The path to the template. If not specified, the implementation will generate a template path based on Web Script conventions.