Package com.vaadin.server.communication
Class PushAtmosphereHandler
- java.lang.Object
-
- org.atmosphere.handler.AbstractReflectorAtmosphereHandler
-
- com.vaadin.server.communication.PushAtmosphereHandler
-
- All Implemented Interfaces:
Serializable
,org.atmosphere.cpr.AtmosphereHandler
public class PushAtmosphereHandler extends org.atmosphere.handler.AbstractReflectorAtmosphereHandler implements Serializable
Handles Atmosphere requests and forwards them to logical methods inPushHandler
- Since:
- 7.5.0
- Author:
- Vaadin Ltd
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PushAtmosphereHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onRequest(org.atmosphere.cpr.AtmosphereResource resource)
void
onStateChange(org.atmosphere.cpr.AtmosphereResourceEvent event)
void
setPushHandler(PushHandler pushHandler)
-
-
-
Method Detail
-
setPushHandler
public void setPushHandler(PushHandler pushHandler)
-
onStateChange
public void onStateChange(org.atmosphere.cpr.AtmosphereResourceEvent event) throws IOException
- Specified by:
onStateChange
in interfaceorg.atmosphere.cpr.AtmosphereHandler
- Overrides:
onStateChange
in classorg.atmosphere.handler.AbstractReflectorAtmosphereHandler
- Throws:
IOException
-
onRequest
public void onRequest(org.atmosphere.cpr.AtmosphereResource resource)
- Specified by:
onRequest
in interfaceorg.atmosphere.cpr.AtmosphereHandler
-
-