users@jersey.java.net

Re: JSONP + JSON in a same resource?

From: Felipe Gaúcho <fgaucho_at_gmail.com>
Date: Thu, 17 Dec 2009 18:45:04 +0100

ok, I figured out that the two types are different MimeTypes, so it
need two distinct methods..

2009/12/17 Felipe Gaúcho <fgaucho_at_gmail.com>:
> does it make sense? and how to define a method that can return both
> JSONP and JSON ?
>
> * I can create a second method, of course, just thinking if I can use
> a generic response type for both ...........
>
>
>
> --
> ------------------------------------------
>   Felipe Gaúcho
>   10+ Java Programmer
>   CEJUG Senior Advisor
>



-- 
------------------------------------------
   Felipe Gaúcho
   10+ Java Programmer
   CEJUG Senior Advisor