You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
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:

    Serialized Form

    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.atmosphere.handler.AbstractReflectorAtmosphereHandler

        org.atmosphere.handler.AbstractReflectorAtmosphereHandler.Default
    • Constructor Detail

      • PushAtmosphereHandler

        public PushAtmosphereHandler()
    • Method Detail

      • setPushHandler

        public void setPushHandler​(PushHandler pushHandler)
      • onStateChange

        public void onStateChange​(org.atmosphere.cpr.AtmosphereResourceEvent event)
                           throws IOException

        Specified by:

        onStateChange in interface org.atmosphere.cpr.AtmosphereHandler

        Overrides:

        onStateChange in class org.atmosphere.handler.AbstractReflectorAtmosphereHandler

        Throws:

        IOException

      • onRequest

        public void onRequest​(org.atmosphere.cpr.AtmosphereResource resource)

        Specified by:

        onRequest in interface org.atmosphere.cpr.AtmosphereHandler