943944945946947948949950951952953
} } // isolate write output try (final Tx tx = app.tx()) { result.commitResponse(gson.get(), response); tx.success(); } } else {
952953954955956957958959960961962
} else { // isolate write output try (final Tx tx = app.tx()) { result = new RestMethodResult(HttpServletResponse.SC_FORBIDDEN); result.commitResponse(gson.get(), response); tx.success(); } }