Hi all,

maybe this question is stupid, but maybe there is an elegant way:

Is it possible to annotate one method with @GET and @POST, while processing
the parameters as previous with @FormParam and @QueryParam.
The solution could look like this:

public String echo(@QueryParam@FormParam String message) {
      return message;

Probably quite silly, but maybe there is a way. Otherwise i would to
duplicate the method and delegate to my actual service.
I would need this for supporting JSON and JSONP...

Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
Resteasy-users mailing list

Reply via email to