Class PagedCountingResponseHandler<R,E>

java.lang.Object
org.projectnessie.services.spi.PagedCountingResponseHandler<R,E>
All Implemented Interfaces:
PagedResponseHandler<R,E>

public abstract class PagedCountingResponseHandler<R,E> extends Object implements PagedResponseHandler<R,E>
  • Constructor Details

    • PagedCountingResponseHandler

      public PagedCountingResponseHandler(Integer maxRecords)
    • PagedCountingResponseHandler

      public PagedCountingResponseHandler(Integer maxRecords, int strictMax)
  • Method Details

    • doAddEntry

      protected abstract boolean doAddEntry(E entry)
    • addEntry

      public final boolean addEntry(E entry)
      Description copied from interface: PagedResponseHandler
      Add an entry to the response page builder.
      Specified by:
      addEntry in interface PagedResponseHandler<R,E>
      Parameters:
      entry - the entry to add
      Returns:
      true if entry could be added to the response page or false if not