/** * {@inheritDoc} */ public void resume() { if (isSuspended()){ action.type = AtmosphereServlet.Action.TYPE.RESUME; broadcaster.removeAtmosphereEvent(this); cometSupport.action(this); } }
event = (AtmosphereEventImpl) session.getAttribute(EVENT); event.setCancelled(true); event.getBroadcaster().removeAtmosphereEvent(event);