Hi Suchita,
I believe you can use these mime-types in your @Produces annotation, but
you will have to proivide the MessageBodyWriter providers for these
mime-types.
-Naresh
Suchitha Koneru (sukoneru) wrote:
>
> Hello Jersey Users,
>
> Are the mime types(doc, xls and pdf) supported in Jersey ? Can we use
> the following annotation for specifying these mime types
>
> @Produces ( {“application/pdf “ , “application/doc” , ” application/xls”})
>
> Thank You,
>
> Suchitha.
>