uri += "&Marker=" + nextMarker;
}
HttpRequestBase httpMethod = new HttpGet(uri);
HttpResponse response = performRestRequest(httpMethod, 200);
DistributionListHandler handler =
(new CloudFrontXmlResponsesSaxParser(this.jets3tProperties))
.parseDistributionListResponse(response.getEntity().getContent());
distributions.addAll(handler.getDistributions());
incompleteListing = handler.isTruncated();
nextMarker = handler.getNextMarker();
// Sanity check for valid pagination values.
if(incompleteListing && nextMarker == null) {
throw new CloudFrontServiceException("Unable to retrieve paginated "
+ "DistributionList results without a valid NextMarker value.");