users@jsr311.java.net

Re: ResponseBuilder.type()

From: Bill Burke <bburke_at_redhat.com>
Date: Fri, 20 Jun 2008 09:49:53 -0400

Sergey Beryozkin wrote:
> Hi Paul
>
> Thanks for the reply, it's so early there for you :-)
>
> Would it make sense to update the specification slightly and note that
> if the Response is returned and
> its metadata contains a Content-Type media type then it has to be taken
> into consideration ?
>

IMO, anything in Response takes precedence over any default JAX-RS behavior.


Bill

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com