}
@Override
public View handle(HttpServletRequest req) throws Exception {
final Session s = new Session(extractSession(req.getPathInfo()));
IDESessionModel model = cache.getModel(s);
// if no 1 sec delay
Thread.sleep(200);
model.refresh();
JSONObject rootNode = model.getTree().getJSONObject("tree");
JSONToXMLConverter conv = new JSONToXMLConverter(rootNode);
JSONObject jsTreeObject = createFrom(rootNode, conv.asXML());
return new JSONView(jsTreeObject);
}