I have "directory resources" which should (and have to!) end with a trailing
slash, because I use templates with relative links, which wouldn't work without
the trailing slash.
I use @Path("directory/") with a trailing slash, but it is ignored by Jersey
(what may be fine in many cases). Is there an easy way to enforce the trailing
slash?