@ GET public String suspend ( ) { AtmosphereResource r = ( AtmosphereResource ) req . getAttribute ( "org.atmosphere.cpr.AtmosphereResource" ) ; r . setBroadcaster ( r . getAtmosphereConfig ( ) . getBroadcasterFactory ( ) . lookup ( "/cxf-chat" , true ) ) . suspend ( ) ; return "" ; }
Suspend the response without writing anything back to the client .