basic-lib/src/main/java/com/streamsets/pipeline/stage/origin/http/HttpClientSource.java
private void setPageOffset(String sourceOffset) {
    if (conf.pagination.mode == PaginationMode.NONE) {
      return;
    }

    int startAt = conf.pagination.startAt;
    if (StringUtils.isNotEmpty(sourceOffset)) {
      startAt = HttpSourceOffset.fromString(sourceOffset).getStartAt();
    }
    resourceVars.addVariable(START_AT, startAt);
    bodyVars.addVariable(START_AT, startAt);
  }
private void setPageOffset(String sourceOffset) {
    if (conf.pagination.mode == PaginationMode.NONE) {
      return;
    }

    int startAt = conf.pagination.startAt;
    if (StringUtils.isNotEmpty(sourceOffset)) {
      startAt = HttpSourceOffset.fromString(sourceOffset).getStartAt();
    }
    resourceVars.addVariable(START_AT, startAt);
    bodyVars.addVariable(START_AT, startAt);
  }
Sets the startAt EL variable in scope for the resource and request body.
If the source offset is null (origin was reset) then the initial value
from the user provided configuration is used.

@param sourceOffset source offset to parse for startAt variable.