We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.server.communication.
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:
-
-
Constructor Summary
Constructors Constructor Description PushAtmosphereHandler()
-
Method Summary
All 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:
-
onRequest
public void onRequest(org.atmosphere.cpr.AtmosphereResource resource)
Specified by:
onRequest
in interfaceorg.atmosphere.cpr.AtmosphereHandler
-
-