if ( (force || impl.getRequest(false).getMethod().equalsIgnoreCase(method))
&& !impl.action().equals(Action.CANCELLED)
&& impl.isInScope()) {
logger.trace("Marking AtmosphereResource {} for suspend operation", r.uuid());
r.addEventListener(new OnBroadcast() {
@Override
public void onBroadcast(AtmosphereResourceEvent event) {
switch (r.transport()) {
case JSONP:
case AJAX: