187188189190191192193194195196197
int count = 0; while (log.hasPrevious()) { ++count; Link previous = log.previous(); request = new ClientRequest(previous.getHref()); response = request.get(String.class); serializedNotifications = response.getEntity();