Hi Karel, it is not possible in the JAX-RS extension, because this is the special meaning of ";". you could encode the ";" to "%3A. See http://en.wikipedia.org/wiki/Percent-encoding#Percent-encoding_reserved_characters for more details.
best regards Stephan Am 27.10.2010 12:30, schrieb Karel Vervaeke: > Hi, is there a way to match colons in a path? > Jax-rs' MatrixParams is sitting in my way I'm afraid > > My uris look like this: http://localhost/foo/a;b/bar > > My attempts so far look like this: > > @Path("foo/{params}/bar") > public String fooBarTest1(@PathParam("params") String params) { > // doesn't work, params = "a" and the matrix params contain { b: null } > } > > @Path("foo/{params:.+}/bar") > public String fooBarTest2(@PathParam("params") String params) { > // same result > } > > I was hoping there was a way to tell restlet / jax-rs that the ; > character has no special meaning > > Any hints? > Regards, > Karel ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2676220