users@jersey.java.net

[Jersey] Re: dinamyc content type

From: Pavel Bucek <pavel.bucek_at_oracle.com>
Date: Tue, 16 Aug 2011 17:30:20 +0200

well, you have your "ugly" solution. Currently I don't see the way how
you could obtain result of content negotiation process (I think this was
here some time back and result was basically the same).

Btw, how many content types (approx) are you supporting per resource?

On 8/16/11 5:12 PM, Jose Antonio Illescas Del Olmo wrote:
> Please any suggestion?
>
> I needed the "default contentType" after jersey
> content-type-negotiation? (I need on my REST method, annotated with
> @POST, @PUT)
>
>
> On 11/08/2011 16:04, Jose Antonio Illescas Del Olmo wrote:
>> Can get the "default" contentType selected by Jersey on my method?
>>
>> Please note that Jersey (and any JAX-RS implementation)
>> calculates the content type to invoke the method with valid media
>> type...
>
>