Class PushAtmosphereHandler
java.lang.Object
org.atmosphere.handler.AbstractReflectorAtmosphereHandler
com.vaadin.flow.server.communication.PushAtmosphereHandler
- All Implemented Interfaces:
Serializable
,org.atmosphere.cpr.AtmosphereHandler
,org.atmosphere.cpr.AtmosphereServletProcessor
public class PushAtmosphereHandler
extends org.atmosphere.handler.AbstractReflectorAtmosphereHandler
implements Serializable
Handles Atmosphere requests and forwards them to logical methods in
PushHandler
.
For internal use only. May be renamed or removed in a future release.
- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.atmosphere.handler.AbstractReflectorAtmosphereHandler
org.atmosphere.handler.AbstractReflectorAtmosphereHandler.Default
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onRequest
(org.atmosphere.cpr.AtmosphereResource resource) void
onStateChange
(org.atmosphere.cpr.AtmosphereResourceEvent event) void
setPushHandler
(PushHandler pushHandler) Methods inherited from class org.atmosphere.handler.AbstractReflectorAtmosphereHandler
destroy, init, postStateChange, useTwoStepWrite, write
-
Constructor Details
-
PushAtmosphereHandler
public PushAtmosphereHandler()
-
-
Method Details
-
setPushHandler
-
onStateChange
- 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
-