@DELETE @Path("/list/{id}") public void deletePlaylist(@PathParam("id") final int id) { playlistDAO.delete(id); }