Hi,
I'm using the Resteasy Proxy Framework [1] and want to invoke a service
with an URL, which contains a specific query parameter with a fixed value.
So I tried to do the following:
public interface MyClient {
@GET
@Path("http://server/foo?myParam=true")
int myMethod();
}
But this URL-encodes the question mark, resulting in a 404 error. Passing
the parameter via a method parameter annotated with @QueryParam works as
expected but I would prefer to avoid that since the parameter value never
changes and thus makes the client API less elegant. Is this possible?
Thanks,
--Gunnar
[1]
http://docs.jboss.org/resteasy/docs/3.0.5.Final/userguide/html/RESTEasy_Client_Framework.html#d4e2106
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users