Hi All - This probably has an obvious solution, but I just can't dig it up. I
have a resource that has a path like this...
/items/{id}
The id path param is a String, and can contain semicolon. It appears that
path params passed in with semicolons are split, and only the first token is
being returned. Given the path "/items/abc;123", @PathParam("id") String
itemId is set to just abc. I've also tried a number of reg exps thinking i
can grab the whole thing; one of them including...
/items/{id: .*}
If i target a URI like "/items/abc;123/what/ever" I'll get "abc/what/ever"
for itemId. So I'm not sure that a reg exp is the way to go here considering
I still lose the ";123" part even though I've specified a reg exp of ".*".
Any thoughts?
--
View this message in context: http://jersey.576304.n2.nabble.com/semicolon-in-path-param-tp5344796p5344796.html
Sent from the Jersey mailing list archive at Nabble.com.