class SessionVote {

    @GET
    @Path("/attendee/{id}")
    @Produces(APPLICATION_JSON)
    public Attendee getAttendee(@PathParam("id") String id) {
        Attendee attendee = selectedAttendeeDAO.getAttendee(id);
        if (attendee == null) {
            throw new NotFoundException("Attendee not found: " + id);
        }
        return attendee;
    }

}