Can you log a jira and copy paste this? Doing this will also allow you to track when this is fixed:
https://issues.jboss.org/browse/RESTEASY On 3/8/12 6:11 PM, Sandeep Tikoo wrote: > Hi, > > I am using RestEasy 2.2.1.GA Client Framework. I have a '?' in my > PathParam that I do not want to get encoded, I tried using the > javax.ws.rs.Encoded annotation (on field, method and class as well) but > it still gets converted to a %3F in the eventual URI that gets invoked > causing my request to fail. > > Debugging the code I noticed that the URI to be invoked is obtained from > org.jboss.resteasy.client.ClientRequest.getUri() which in turn calls > (Line 782) UriBuilderImpl.substitutePathParam(entry.getKey(), value, > false); > The value for isEncode parameter in call to substitutePathParam() is > hard coded to false, if I change it to true in eclipse debug mode, my > call works fine. > > Sorry, if this is already in JIRA or the question has already been > answered in the forum but I tried to search and did not come up with > anything. > > Thank you, > Sandeep. > > ------------------------------------------------------------------------------ > Virtualization& Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Resteasy-users mailing list > Resteasy-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/resteasy-users -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users