Interface PaginatedCallAdapterFactory


public interface PaginatedCallAdapterFactory
Recognizes a @Paginated method's return type and produces a PaginatedCallAdapter for it - the pagination-aware counterpart of CallAdapterFactory, consulted only for a method actually annotated @Paginated (never for a PaginationStrategy<T>-parameter method, and never for a plain, non-paginated call - see CallAdapterFactory for that). See docs/design/reactor-call-adapter.md §7.2/§7.3.
  • Method Details

    • get

      Parameters:
      method - the @Paginated method being dispatched or validated
      Returns:
      an adapter for this method's return type, or Optional.empty() to decline (letting the next registered factory, or the built-in Page<T> fallback, handle it)