Skip to content

API Reference (Javadoc)

Each release publishes a javadoc.jar for both the core artifact and the optional reactive artifact. Two ways to read it:

Online (javadoc.io)

javadoc.io mirrors Javadoc for every artifact on Maven Central — no setup required.

Core (easy-paging-spring-boot-starter):

Reactive (easy-paging-spring-boot-starter-reactive, since 0.4.0):

The first visit to a new version takes a moment while javadoc.io fetches the jar from Maven Central; subsequent visits are cached.

In your IDE

Once you've added the dependency, IntelliJ IDEA, Eclipse, and VS Code (with Java extensions) all fetch the javadoc.jar from Maven Central automatically. Hover over any @AutoPaginate, @KeysetPaginate, PageResponse, KeysetPage, etc. to see the Javadoc inline.

If your IDE doesn't show docs, force a refresh:

./gradlew dependencies --refresh-dependencies
mvn dependency:resolve -Dclassifier=javadoc

Key entry points

A short map of where to start when reading the API:

Class What it does
@AutoPaginate Controller-method annotation for offset pagination
@KeysetPaginate Controller-method annotation for cursor pagination
PageResponse Offset response envelope
KeysetPage Keyset response envelope
KeysetRequest Resolved cursor + page-size for a keyset request
CursorCodec Encode/decode keyset cursors (HMAC-SHA256 signing)
PageResponseFactory SPI for replacing the default response envelope
ReactivePagingSupport Reactor helper for blocking MyBatis calls (core artifact)
EasyPagingProperties All easy-paging.* configuration keys

For the optional reactive artifact (easy-paging-spring-boot-starter-reactive):

Class What it does
R2dbcOffsetPagingSupport R2DBC offset/limit pagination → Mono<PageResponse<T>>
R2dbcKeysetSupport R2DBC keyset/cursor pagination — lexicographic WHERE builder + helper
ReactiveKeysetRequestArgumentResolver WebFlux KeysetRequest argument resolver (auto-registered)