code: public <T extends HalRepresentation> void paginateNextAs(final Class<T> pageType,
                                                               final PageHandler pageHandler) throws IOException {
          paginateAs("next", pageType, null, pageHandler);
      }
docs: Iterates over pages by following 'next' links. For every page, a {@code Traverson} is created and provided as a
  parameter to the callback function.
  
  <pre>
  next
  ... --&gt; &lt;page type&gt; --&gt; &lt;page type&gt;
  |                 |
  v N item          v N item
  HalRepresentation  HalRepresentation
  </pre>
  
  <p>
  The {@code Traverson} is backed by a representation of {@code pageType}, but without
  {@link EmbeddedTypeInfo}. This way it
  is possible to access special attributes of the page by calling {@code pageTraverson.getResourceAs(pageType)}
  in the callback function. If the paged items need to be accessed as a subtype of HalRepresentation, you
  can call pageTraverson.follow(rel).streamAs(MyItemType.class) - but ONLY if the items are not embedded into
  the page.
  </p>
  
  <p>
  For embedded items having a subtype of HalRepresentation, {@link #paginateNextAs(Class, EmbeddedTypeInfo, PageHandler)}
  must be used instead of this method, otherwise a {@code ClassCastException} will be thrown.
  </p>
  
  <p>
  Iteration stops if the callback returns {@code false}, or if the last page is processed.
  </p>
  
  @param pageType the subtype of HalRepresentation of the page resources
  @param pageHandler callback function called for every page
  @param <T> subtype of HalRepresentation
  @throws IOException if a low-level I/O problem (unexpected end-of-input, network error) occurs.
  @throws JsonParseException if the json document can not be parsed by Jackson's ObjectMapper
  @throws JsonMappingException if the input JSON structure can not be mapped to the specified HalRepresentation type
  @since 1.0.0