Skip to main content

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

  • From: Danny Coward < >
  • To:
  • Cc: Joakim Erdfelt < >,
  • Subject: [jsr356-users] [jsr356-experts] Re: More URI Template questions.
  • Date: Wed, 07 Aug 2013 17:03:17 -0700
  • List-id: <jsr356-experts.websocket-spec.java.net>

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 URI-template....

HTH,

- 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 
<
 
<mailto: >>
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



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

Joakim Erdfelt 08/06/2013

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

Danny Coward 08/08/2013
 
 
Close
loading
Please Confirm
Close