[jsr356-experts] Re: [jsr356-users] More URI Template questions.

From: Danny Coward <danny.coward_at_oracle.com>
Date: Wed, 07 Aug 2013 17:03:17 -0700

On 8/6/13 10:14 AM, Joakim Erdfelt wrote:
> Just a clarification of an interpretation of RFC6570.
> If a URI Template of "/{arg}/{arg}" is used against request "/a/b"
> then the result of
> the "arg" variable would be a String array of ["a", "b"]

Hi Joakim,

I believe that the variable expressions in a URI-template have to be
unique (whatever the level), so I don't believe /{arg}/{arg} is a valid


- Danny

> But String array's seem to not be part of Level 1 URI Templates.
> I favor marking that as an invalid ServerEndpointConfig path.
> Thoughts?
> --
> Joakim Erdfelt <joakim_at_intalio.com <mailto:joakim_at_intalio.com>>
> webtide.com <http://www.webtide.com/>
> Developer advice, services and support
> from the Jetty & CometD experts
> eclipse.org/jetty <http://eclipse.org/jetty/> - cometd.org
> <http://cometd.org/>

<http://www.oracle.com> 	*Danny Coward *
Java EE
Oracle Corporation