jsr356-experts@websocket-spec.java.net

[jsr356-experts] More URI Template questions.

From: Joakim Erdfelt <joakim_at_intalio.com>
Date: Tue, 6 Aug 2013 10:14:43 -0700

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"]

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>
webtide.com <http://www.webtide.com/>
Developer advice, services and support
from the Jetty & CometD experts
eclipse.org/jetty - cometd.org