33343536373839
@GET @Path("/view_freemarker") @UnitOfWork @Produces(MediaType.TEXT_HTML) public PersonView getPersonViewFreemarker(@PathParam("personId") LongParam personId) { return new PersonView(PersonView.Template.FREEMARKER, findSafely(personId.get())); }
41424344454647
@GET @Path("/view_mustache") @UnitOfWork @Produces(MediaType.TEXT_HTML) public PersonView getPersonViewMustache(@PathParam("personId") LongParam personId) { return new PersonView(PersonView.Template.MUSTACHE, findSafely(personId.get())); }