users@jsr311.java.net

Re: JAX-RS: UriBuilder encoding

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Thu, 24 Jul 2008 14:10:40 -0400

How annoying, I guess we'll have to name the methods differently then.

Marc.

On Jul 24, 2008, at 1:58 PM, Stephan Koops wrote:

> Hi,
>
> I see a problem with build(boolean, Object...). Example:
>
> UriBuilder ub = ...;
> ub.replaceQuery("paged={paged}&abc={abc}");
> ub.build(true, false);
>
> I would assume that it results in "...?paged=true&abc=false", but it
> will result in an error, because there are no enough arguments. Same
> case:
>
> UriBuilder ub = ...;
> ub.replaceQuery("paged={paged}");
> ub.build(true);
>
> best regards
> Stephan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: users-help_at_jsr311.dev.java.net
>

---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.