@AtmosphereHandlerService(path="/chat",
interceptors={org.atmosphere.interceptor.AtmosphereResourceLifecycleInterceptor.class,org.atmosphere.interceptor.BroadcastOnPostAtmosphereInterceptor.class})
public class SSEAtmosphereHandler
extends org.atmosphere.handler.OnMessage<java.lang.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,
java.lang.String message) |
destroy, onOpen, onRequest, onResume, onStateChange, onTimeoutpublic void onMessage(org.atmosphere.cpr.AtmosphereResponse response,
java.lang.String message)
throws java.io.IOException
onMessage in class org.atmosphere.handler.OnMessage<java.lang.String>java.io.IOExceptionpublic void onDisconnect(org.atmosphere.cpr.AtmosphereResponse response)
throws java.io.IOException
onDisconnect in class org.atmosphere.handler.OnMessage<java.lang.String>java.io.IOExceptionCopyright © 2018. All Rights Reserved.