Revision 61483
Added by Andreas Czerniak over 2 years ago
modules/dnet-collector-plugins/trunk/src/main/java/eu/dnetlib/data/collector/plugins/rest/RestIterator.java | ||
---|---|---|
372 | 372 |
try { |
373 | 373 |
String resultTotalXpathEval = xprResultTotalPath.evaluate(resultNode); |
374 | 374 |
|
375 |
log.debug("downloadPage():: resInt: " +resumptionInt + "; resultTotal: " + resultTotal + " ; resultTotalXpath eval.: " + resultTotalXpathEval + "/" + resultTotalXPathEval1);
|
|
375 |
log.debug("downloadPage():: resInt: " +resumptionInt + "; resultTotal: " + resultTotal + " ; resultTotalXpath eval.: " + resultTotalXpathEval ); |
|
376 | 376 |
if ((resultTotal == -1) && (!resultTotalXpathEval.isEmpty())) { |
377 | 377 |
resultTotal = Integer.parseInt(xprResultTotalPath.evaluate(resultNode)); |
378 | 378 |
if (resumptionType.toLowerCase().equals("page") && !AUTHBASIC.equalsIgnoreCase(authMethod)) { |
Also available in: Unified diff
add feature to change the pagination start number, enhance debugging