Class PagedCountingResponseHandler<R,​E>

    • Constructor Detail

      • PagedCountingResponseHandler

        public PagedCountingResponseHandler​(java.lang.Integer maxRecords)
      • PagedCountingResponseHandler

        public PagedCountingResponseHandler​(java.lang.Integer maxRecords,
                                            int strictMax)
    • Method Detail

      • 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