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:

  • Nested Class Summary

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onRequest(org.atmosphere.cpr.AtmosphereResource resource)
     
    void
    onStateChange(org.atmosphere.cpr.AtmosphereResourceEvent event)
     
    void
     

    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 Details

    • PushAtmosphereHandler

      public PushAtmosphereHandler()
  • Method Details

    • 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