final HttpServletRequest request) throws IOException {
if (jettyContinuations) {
// must keep the full class names in there so we can conditionally try to use Jetty continuations, and not fail on class load (due to imports)
request.setAttribute("org.persvr.suspended", true);
final org.mortbay.util.ajax.Continuation continuation = org.mortbay.util.ajax.ContinuationSupport.getContinuation(request, null);
EventCallback callback = new EventCallback() {
public void onEvent() throws IOException {
request.setAttribute("org.persvr.suspended", false);
continuation.resume();
}