users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Re: Setting Response on ContainerResponseContext.setEntity

From: Santiago Pericas-Geertsen <Santiago.PericasGeertsen_at_oracle.com>
Date: Thu, 7 Mar 2013 10:18:30 -0500

On Mar 7, 2013, at 7:17 AM, Sergey Beryozkin <sberyozkin_at_talend.com> wrote:

> Hi
>
> We've had a case where a user set a newly built Response on ContainerResponseContext.setEntity(...).
>
> Should it cause IllegalArgumentException to minimize the confusion ?

 That seems reasonable to me.

-- Santiago