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=2676012

Reply via email to