users@jersey.java.net

[Jersey] Re: How to catch the response in case of an invalid query paramter

From: Daniel Larsson <daniel.j.larsson_at_gmail.com>
Date: Mon, 18 Apr 2011 18:12:41 +0200

I'm using matrix parameters for any filtering of collection resources
myself. This has the benefit of working when accessing subresources too.
This is less interesting for paging data, but handy for other types of
filtering. Sadly, Jersey has less than optimal support for matrix parameters
unless they occur on the last path segment (
http://java.net/jira/browse/JERSEY-408). It's workable as is though.

http://example.com/items;color=yellow/parts/


2011/4/18 Ryan Stewart <rds6235_at_gmail.com>

> On Mon, Apr 18, 2011 at 3:02 AM, Rob - <skyscrapper666_at_hotmail.com> wrote:
>
>> Query parameters should be banned. They are for REST the equivalent of
>> Java script for the web.
>>
>> How would you recommend requesting paged data on a GET, then?
>