((HttpServletResponse) r.getResponse()).sendError(errorCode, message);
return this;
}
});
}
transport.handle((AtmosphereResourceImpl) r, atmosphereHandler, getSessionManager(version));
} else {
logger.error("Protocol not supported : " + protocol);
}
} catch (Exception e) {
logger.error("", e);