users@jersey.java.net

Re: [Jersey] Jersey won't do URLDecoding for me ?

From: Paul Sandoz <Paul.Sandoz_at_oracle.com>
Date: Wed, 22 Sep 2010 15:02:50 -0700

On Sep 19, 2010, at 9:37 PM, Jeff Zhang wrote:

> Hi ,
>
> I found Jersey won't do URLEncoding for me when I use
> UriInfo.getQueryParameters. Am I right ?

Jersey will automatically decode the query parameter names and values
of the query component:

   https://jsr311.dev.java.net/nonav/releases/1.1/javax/ws/rs/core/UriInfo.html
#getQueryParameters%28%29

   https://jsr311.dev.java.net/nonav/releases/1.1/javax/ws/rs/core/UriInfo.html
#getQueryParameters%28boolean%29

Can you explain a little more what issue you are observing?

Paul.

> And I think it would be
> better if jersey do it for users.
>
>
> --
> Best Regards
>
> Jeff Zhang
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>