users@jax-rs-spec.java.net

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

From: Sergey Beryozkin <sberyozkin_at_talend.com>
Date: Thu, 7 Mar 2013 12:17:05 +0000

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 ?

Cheers, Sergey