Package org.projectnessie.services.spi
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 Summary
ConstructorsConstructorDescriptionPagedCountingResponseHandler(Integer maxRecords) PagedCountingResponseHandler(Integer maxRecords, int strictMax) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanAdd an entry to the response page builder.protected abstract booleandoAddEntry(E entry) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.projectnessie.services.spi.PagedResponseHandler
build, hasMore
-
Constructor Details
-
PagedCountingResponseHandler
-
PagedCountingResponseHandler
-
-
Method Details
-
doAddEntry
-
addEntry
Description copied from interface:PagedResponseHandlerAdd an entry to the response page builder.- Specified by:
addEntryin interfacePagedResponseHandler<R,E> - Parameters:
entry- the entry to add- Returns:
trueifentrycould be added to the response page orfalseif not
-