I'm using the HTTP Link header for pagination in my API.
e.g. GET /items?limit=10&filter=active
returns a Link-header with Link: <https://example.com/features?limit=10&filter=active&cursor=a34Dsdf>; rel="next"
What I would like is for the auto-generation tools to be able to create a method e.g. "getNextPortion" that uses the parameters from the Link header to get the next n items.
Is this possible, or must I use "primitive" headers containing single integers and strings?