viewable

Jersey Viewable with status code

The JAX-RS implementation Jersey supports MVC style web applications through the Viewable class, which is a container for a template name and a model object. It is used like this: @GET public Viewable get() { return new Viewable("/index", "FOO"); } I wonder how a status code could be returned with this approach. The above would impl...