// Do something interesting with 's' here on the server.
return s;
}
public ArrayList<Candidate> getCandidates() {
Candidate candidate1 = new Candidate("Obama", 45);
Candidate candidate2 = new Candidate("Hillary", 60);
ArrayList<Candidate> candidates = new ArrayList<Candidate>();
candidates.add(candidate1);
candidates.add(candidate2);
LOGGER.info("returning candidates list");
return candidates;