@VisibleForTesting
  int getCurrentPage() {
    // Body params take precedence, but usually only one or the other should be used.
    if (bodyVars.hasVariable(START_AT)) {
      return (int) bodyVars.getVariable(START_AT);
    } else if (resourceVars.hasVariable(START_AT)) {
      return (int) resourceVars.getVariable(START_AT);
    }
    return 0;
  }
@VisibleForTesting
  int getCurrentPage() {
    
    if (bodyVars.hasVariable(START_AT)) {
      return (int) bodyVars.getVariable(START_AT);
    } else if (resourceVars.hasVariable(START_AT)) {
      return (int) resourceVars.getVariable(START_AT);
    }
    return 0;
  }
@ VisibleForTesting int getCurrentPage ( ) { // Body params take precedence, but usually only one or the other should be used. if ( bodyVars . hasVariable ( START_AT ) ) { return ( int ) bodyVars . getVariable ( START_AT ) ; } else if ( resourceVars . hasVariable ( START_AT ) ) { return ( int ) resourceVars . getVariable ( START_AT ) ; } return 0 ; }
Returns the most recently requested page number or page offset requested.

@return page number or offset
Returns the most recently requested page number or page offset requested .