[resteasy] Client escapes slashes causing failure
Gareth Healy
garethahealy at gmail.com
Wed Sep 14 11:36:31 EDT 2016
I have a client which uses the following method:
@GET
@Path("/{path}/treeHash")
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.
Cheers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/resteasy/attachments/20160914/bcf47eb9/attachment-0001.html
More information about the resteasy
mailing list