Object c=request.getAttribute("org.mortbay.jetty.ajax.Continuation"); Continuation continuation = (Continuation) c;
Continuation continuation = (Continuation) request.getAttribute("org.mortbay.jetty.ajax.Continuation");
    public static Continuation getContinuation(HttpServletRequest request, Object lock)    {        Object c=request.getAttribute("org.mortbay.jetty.ajax.Continuation");        Continuation continuation = (Continuation) c;        if (continuation==null)            continuation=new WaitingContinuation(lock);        else if (continuation instanceof WaitingContinuation && continuation.isNew())            ((WaitingContinuation)continuation).setMutex(lock);        return continuation;    }