I have a client which uses the following method:

Response getEntityHash(@PathParam("path") RelativePath path);

The RelativePath object gets converted into a value of: t;unit-testing/e;ua2shhq9

Example full URL: /entity/t;unit-testing/e;ua2shhq9/treeHash

When its executed, the forward slash is converted to %2F (encoded /). This causes the call to fail. What do i need to do, to make sure its not URL encoded?

I've tried adding @Encoded, but that has no effect.