@AtmosphereHandlerService(path="/chat",
interceptors={org.atmosphere.interceptor.AtmosphereResourceLifecycleInterceptor.class,org.atmosphere.interceptor.BroadcastOnPostAtmosphereInterceptor.class})
public class SSEAtmosphereHandler
extends org.atmosphere.handler.OnMessage<String>
| Constructor and Description |
|---|
SSEAtmosphereHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
onDisconnect(org.atmosphere.cpr.AtmosphereResponse response) |
void |
onMessage(org.atmosphere.cpr.AtmosphereResponse response,
String message) |
destroy, onOpen, onRequest, onResume, onStateChange, onTimeoutpublic void onMessage(org.atmosphere.cpr.AtmosphereResponse response,
String message)
throws IOException
onMessage in class org.atmosphere.handler.OnMessage<String>IOExceptionpublic void onDisconnect(org.atmosphere.cpr.AtmosphereResponse response)
throws IOException
onDisconnect in class org.atmosphere.handler.OnMessage<String>IOExceptionCopyright © 2015. All Rights Reserved.