users@jersey.java.net

[Jersey] Re: default media type for jersey

From: rjilani <jilani_at_lifebiosystems.com>
Date: Thu, 9 Dec 2010 10:36:06 -0800 (PST)

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.

-- 
View this message in context: http://jersey.576304.n2.nabble.com/default-media-type-for-jersey-tp5816386p5820046.html
Sent from the Jersey mailing list archive at Nabble.com.