From: Pavel Bucek <pavel.bucek_at_oracle.com>
Date: Fri, 10 Dec 2010 10:04:20 +0100
On 12/9/10 7:36 PM, rjilani wrote:
>
> Paul Sandoz-2 wrote:
>> Hi Rashid,
>>
>> You can achieve this by using URI conneg and map a suffixes to media
>> types, then you can use the @Produces method.
>>
>> See:
>>
>> http://jersey.java.net/nonav/apidocs/latest/jersey/com/sun/jersey/api/core/ResourceConfig.html#PROPERTY_MEDIA_TYPE_MAPPINGS >>
>> Paul.
>>
>>
>
> Thanks Paul, but do we have any example using this property in the Jersey
> samples or on the web. I tried to find one but no luck.
>
> Regards,
> Rashid.
Hello Rashid,
see sample ./contribs/bill-burke-book/ex08_2 in the trunk or download it
at [1].