@PUT @Path("/{machineId}/cancel") public void cancelExecution(@PathParam("machineId") Long machineId){
}

@ PUT @ Path ( "/{machineId}/cancel" ) public void cancelExecution ( @ PathParam ( "machineId" ) Long machineId ) { }
cancel a machine being executed .
