Class PushAtmosphereHandler

  • All Implemented Interfaces:
    java.io.Serializable, org.atmosphere.cpr.AtmosphereHandler, org.atmosphere.cpr.AtmosphereServletProcessor

    public class PushAtmosphereHandler
    extends org.atmosphere.handler.AbstractReflectorAtmosphereHandler
    implements java.io.Serializable
    Handles Atmosphere requests and forwards them to logical methods in PushHandler.
    Since:
    7.5.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PushAtmosphereHandler

        public PushAtmosphereHandler()
    • Method Detail

      • setPushHandler

        public void setPushHandler​(PushHandler pushHandler)
      • onStateChange

        public void onStateChange​(org.atmosphere.cpr.AtmosphereResourceEvent event)
                           throws java.io.IOException
        Specified by:
        onStateChange in interface org.atmosphere.cpr.AtmosphereHandler
        Overrides:
        onStateChange in class org.atmosphere.handler.AbstractReflectorAtmosphereHandler
        Throws:
        java.io.IOException
      • onRequest

        public void onRequest​(org.atmosphere.cpr.AtmosphereResource resource)
        Specified by:
        onRequest in interface org.atmosphere.cpr.AtmosphereHandler