[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Updated: (ODATA-243) Add client preferences for server-driven paging
[ http://tools.oasis-open.org/issues/browse/ODATA-243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ralf Handl updated ODATA-243:
-----------------------------
Proposal:
Add preference value odata.pagesize that takes a positive integer as argument.
Example: client wants server to return pages of size 10:
Prefer: odata.pagesize=10
Environment: [Proposed]
> Add client preferences for server-driven paging
> -----------------------------------------------
>
> Key: ODATA-243
> URL: http://tools.oasis-open.org/issues/browse/ODATA-243
> Project: OASIS Open Data Protocol (OData) TC
> Issue Type: Improvement
> Components: OData Protocol v1.0
> Affects Versions: WD01
> Environment: [Proposed]
> Reporter: Gerald Krause
> Fix For: WD01
>
>
> Currently, the server solely decides whether or not to apply server-driven paging on the result set, and clients are expected to handle next-links returned as part of a partial result. Methods should be introduced to allow clients to adapt this paging mode to their needs.
> First, if clients could indicate their preference to apply server-driven paging for fetching the result, then the server would have more knowledge about potential subsequent client interactions. The server could leverage it by preparing a result set that remains stable over the different page accesses. This cannot be achieved by client-side paging in any way.
> Second, the client is currently expected to handle next-links as they occur, but cannot control the page size. A preference to specify the maximum number of entries returned in a server page would allow clients to consider boundary conditions of their runtime infrastructure.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]