}
if (handler == null) {
synchronized (config) {
logger.trace("Preserving backward PrimeFaces behavior");
PrimeAtmosphereHandler pah = new PrimeAtmosphereHandler(configureRules(config.getServletConfig()));
path = computePath(req);
config.framework().addAtmosphereHandler(path, pah);
handler = (U) config.framework().getAtmosphereHandlers().get(path);
}
}