dev@jsr311.java.net

Re: URI Escaping and Unescaping

From: Bill de hOra <bill_at_dehora.net>
Date: Tue, 26 Jun 2007 16:35:32 +0100

Marc Hadley wrote:

> @UriParam, @QueryParam, @MatrixParam - add a boolean 'decode' property
> with a default value of true. When decode=true an annotated parameter
> will receive the decoded value of the associated URI component, when
> false it will receive the "raw" encoded value.
> @UriTemplate - add a boolean 'encode' property with a default value of
> true. When encode=true literals within the value of the template will be
> encoded as necessary, when false the template won't be subject to
> encoding and must therefore be a valid URI after substitution of any
> template parameters.

+1.

cheers
Bill