[Jersey] UriInfo getQueryParameters removing some characters

From: Leonardo Helman <>
Date: Fri, 23 Sep 2011 16:09:26 -0300

Hi people, I'm trying to use a Jersey backend with a dojo frontend.

dojo,, when you click
on a column to order the table, gives you something like:


I'm trying to use getQueryParameters (true/false, it does not change the
behaviour) to access the fields (and the ascending/descending char, plus
or minus).

The getQueryParameters changes the "+" by a space.

For example on this case:


getQueryParameters, returns:
sort( amounterrors,-step) => ""

Why the first "+" is removed?

Am I doing something wrong?
Is there any other way to retrieve this?

Thanks in advance