}
}
req.setAttribute(AtmosphereServlet.SUPPORT_SESSION, supportSession());
AtmosphereHandlerWrapper handlerWrapper = map(req);
AtmosphereResourceImpl resource = new AtmosphereResourceImpl(config,handlerWrapper.broadcaster, req, res, this, handlerWrapper.atmosphereHandler);
handlerWrapper.broadcaster.getBroadcasterConfig().setAtmosphereConfig(config);
req.setAttribute(AtmosphereServlet.ATMOSPHERE_RESOURCE, resource);
req.setAttribute(AtmosphereServlet.ATMOSPHERE_HANDLER, handlerWrapper.atmosphereHandler);