Re: URI Escaping and Unescaping

From: Bill de hOra <>
Date: Wed, 20 Jun 2007 23:45:13 +0100

Marc Hadley wrote:

> My working assumption, which isn't reflected in the Javadoc, is that the
> developer would work with unescaped values for @UriParam, @QueryParam
> and @MatrixParam so the value of name would be "x y".

Mine too.

> A related question is whether the @UriTemplate value should be in
> escaped or unescaped form. In this case I'd say that it should be in
> escaped form, i.e. a developer would have to write
> @UriTemplate("hello%20world") rather than @UriTemplate("hello world").

That would make the API asymmetric/inconsistent...?