Class 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 in PushHandler
    Since:
    7.5.0
    Author:
    Vaadin Ltd
    See Also:
    Serialized Form
    • 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