users@jersey.java.net

Re: [Jersey] Names for "start record" and "max records" parameters, slightly OT

From: Martin Grotzke <martin.grotzke_at_freiheit.com>
Date: Fri, 11 Jul 2008 09:39:01 +0200

Hi,

you could have a look at the OpenSearch specification [1], they use
startIndex and count.

Cheers,
Martin


[1] http://www.opensearch.org/Specifications/OpenSearch/1.1

On Thu, 2008-07-10 at 17:44 +0200, Gabor Szokoli wrote:
> Hi,
>
> I have a RESTful service (implemented in Jersey of course, and that's
> all the connection to Jersey in this question) which returns a
> resource listing of unbounded size.
> I'd like to add query parameters for "start record" and "max records"
> to be able to query the list in chunks. (in case the other parameters
> do not restrict the list enough.)
>
> Is there some commonly accepted naming convention for these query parameters?
> What do you guys use?
>
> Any advice appreciated.
>
>
> Gabor Szokoli
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net