@GET public Response list( @HeaderParam("idUser") String idUser, @HeaderParam("passUser") String password) { helperService.validateUser(idUser, password); List<Student> students = studentService.list(); return Response.ok().entity(students).build(); }