org.atmosphere.samples.chat
Class SSEAtmosphereHandler
java.lang.Object
org.atmosphere.handler.AbstractReflectorAtmosphereHandler
org.atmosphere.handler.OnMessage<String>
org.atmosphere.samples.chat.SSEAtmosphereHandler
- All Implemented Interfaces:
- AtmosphereHandler
@AtmosphereHandlerService(path="/chat",
interceptors={org.atmosphere.interceptor.AtmosphereResourceLifecycleInterceptor.class,org.atmosphere.interceptor.BroadcastOnPostAtmosphereInterceptor.class})
public class SSEAtmosphereHandler- extends OnMessage<String>
Simple AtmosphereHandler that implement the logic to build a Server Side Events Chat application.
- Author:
- Jeanfrancois Arcand
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSEAtmosphereHandler
public SSEAtmosphereHandler()
onMessage
public void onMessage(AtmosphereResponse response,
String message)
throws IOException
- Specified by:
onMessage in class OnMessage<String>
- Throws:
IOException
Copyright © 2013. All Rights Reserved.