Seam Framework JaxRS templating support
@glassfishrobot is already working on this.
Since Feb 10, 2018.
- Dominant language
- Java
- Stars
- 400
- Forks
- 143
- PR merge metrics
- No merged PRs in 30d
Description
Having explored Seam Framework JaxRS templating support [1] I find it useful and could be incorporated into the spec.
@ResponseTemplate and @ResponseTemplates annotations to designate the template[s] to use for either the default response mime-type for the method annotated with @Produces or with a property (like in Seam doc) @ResponseTemplate(value = "/freemarker/categories.ftl", produces = "application/xml").
Provide and SPI to register TemplatingProviders (FreeMarker etc...) the extension provider should implement an Interface. The implementation (during registration) express its interest in a specific templating language by mean of RegEX (.ftl, /templates/freemarker/).
[1] [http://docs.jboss.org/seam/3/rest/latest/reference/en-US/html/rest.templating.html](http://docs.jboss.org/seam/3/rest/latest/reference/en-US/html/rest.templating.html)
#### Affected Versions
[2.0]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.