Class 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
    • 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