-
Enhancement
-
Resolution: Done
-
Major
-
3.0.19.Final
-
None
-
None
We are using Resteasy client for Hawkular.org. In the client I'm using proxyBuilder content as follows,
@Path("/hawkular/inventory") public interface InventoryRestApi { @GET @Path("/entity/{path:.+}") Response getEntity(@Encoded @PathParam("path") String canonicalPath); }
I do not want to encode PathParam. I would like the get the url as http://localhost:8080/hawkular/inventory/entity/t;hawkular/f;jk-feed
but I'm getting as http://localhost:8080/hawkular/inventory/entity/t;hawkular%2Ff;jk-feed
It looks like by default it is calling, https://github.com/resteasy/Resteasy/blob/4e5acbb3f61263a300f0316d952233a404f9b702/resteasy-client/src/main/java/org/jboss/resteasy/client/jaxrs/internal/proxy/processors/webtarget/PathParamProcessor.java#L23
But I want to call 'target.resolveTemplate(paramName, param, false);' ie: encodeSlashInPath=false.
Could you please help me to configure this settings, if we have a way already.
Thank you!
- relates to
-
RESTEASY-1517 Add ability to control slash encoding for PathParam
- Resolved