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

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

I'm unclear what the difference between:




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