users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] unclear about ExecutionContext

From: Bill Burke <bburke_at_redhat.com>
Date: Mon, 18 Jun 2012 11:01:53 -0400

I'm unclear what the difference between:

resume(Object)

vs.

setResponse/getResponse

Why do you need setResponse if there is a resume (or vice versa). What
does setResponse do compared to resume? The spec talks about a
"fallback response", but I don't understand why you would need to set a
"fallback response" with a setResponse method. Just resume(response),
if there is an error.


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