Package com.shri.restinpeace
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 Summary
-
Method Details
-
get
- Parameters:
method- the@Paginatedmethod 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-inPage<T>fallback, handle it)
-