Create Spring HATEOAS integration for keyset pagination
See original GitHub issueIn Spring 2.2+ which is IMO the only version we should support here, the contracts changed completely. It seems it is intended to inject a PagedResourcesAssembler
parameter to the controller method which can then be used to transform a Page
to a PagedModel
. That also adds the links since it knows the URI and the page numbers.
We will have to essentially duplicate this for the KeysetAwarePage
and add additional parameters as needed.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Level 3 REST services and paging with Spring HATEOAS
This Spring module will allow us to create a Web Service REST ... of the REST level 3 services (we are practically integrating...
Read more >Question: headers link and keyset pagination #1080
I'm currently using blaze persistence together with spring mvc/data. I... ... Create Spring HATEOAS integration for keyset pagination #917.
Read more >Spring HATEOAS - Reference Documentation
This project provides some APIs to ease creating REST representations that follow the HATEOAS principle when working with Spring and ...
Read more >Keyset Pagination with Spring
In this article, I'm going to show you how you can use the Keyset Pagination technique with Spring or Spring Boot.
Read more >Build a Spring Boot REST API with Pagination and Sorting
Learn how to build a Spring Boot REST API with paging and sorting capabilities using spring data jpa.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I worked on the integration today and it looks like it works out. You can try it out here: https://github.com/Blazebit/blaze-persistence/pull/1092
Would love to hear some feedback!
I’ll do next week for sure, thanks again!