@PUT @Path("{pId}/{tId}/rollback") public Response rollback( @PathParam("pId") @DefaultValue("") String pId, @PathParam("tId") @DefaultValue("") String tId, String content) { Work work = faults.get(pId); if (work != null) work.rollbackCnt += 1; return terminate(pId, tId, TxStatusMediaType.TX_ROLLEDBACK); }