Support breaking the view layer from the control layer
@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
(Email from Guilherme Silveira, [http://java.net/projects/jax-rs-spec/lists/jsr339-experts/archive/2011-03/message/90](http://java.net/projects/jax-rs-spec/lists/jsr339-experts/archive/2011-03/message/90) )
4\. Also support breaking the view layer from the control layer
If a method does not serialize or return anything, assume a default behavior so you don't have to repeat yourself all over the place. For example, if the show method did not return anything it would go to "/software/show.jsp" or /software/show.json.jsp or /software/show.xml.jsp etc according to conneg. To implement it, the semantic model needs to be exposed again:
public interface PathResolver {
String pathFor(ResourceMethod method);
}
#### 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.