This sounds like a Resteasy issue. If they still want to send a
response they should not be marking the response as complete.
Stuart
On Tue, Nov 1, 2016 at 5:50 AM, Rebecca Searls <rsearls(a)redhat.com> wrote:
Resteasy is processing a REST request that is to produce a JSON object. The
generation of the JSON object fails because the users's (class) object is missing
a required annotation. This programming error causes an IOException to be thrown
by com.fasterxml.jackson.databind.ObjectWriter and the response is tagged
as completed in HttpServerExchange. But the user has also defined a custom
ExceptionMapper<throwable> for Resteasy to use to report any exceptions. Custom
ExceptionMappers in this case are processed after the response has be marked complete.
Is there any way to re-establish a usable response object so the user's
ExceptionMapper can
report the failure to the client?
_______________________________________________
undertow-dev mailing list
undertow-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/undertow-dev