A question about the URI template matching rules.
Example:
@ServerEndpoint with URI template of "/a/{var}"
Some request variants.
Request "/a/b"
This is the clear and obvious case, pretty normal. Well documented in
the spec.
"var" == "b"
Request "/a/b/"
Should this match?
If so, then "var" == "b", right? (not "var" == "b/")
Request "/a/"
Should this match?
If so, then "var" == ""? or "var" == null?
Request "/a"
Should this match?
If so, does it follow the same behavior as "/a/" and have
"var" == ""? or "var" == null?
--
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