Class QuarkusJSR356AsyncSupport

java.lang.Object
org.atmosphere.cpr.AsynchronousProcessor
org.atmosphere.container.Servlet30CometSupport
com.vaadin.quarkus.graal.QuarkusJSR356AsyncSupport
All Implemented Interfaces:
org.atmosphere.cpr.AsyncSupport<org.atmosphere.cpr.AtmosphereResourceImpl>

public class QuarkusJSR356AsyncSupport extends org.atmosphere.container.Servlet30CometSupport
The Atmosphere async support of the Vaadin servlets in a native image.

Like JSR356AsyncSupport, it serves push over WebSocket through the JSR 356 container, but leaves registering the endpoints to AtmosphereRecorder: Atmosphere is initialized at RUNTIME_INIT, when the WebSocket container may already refuse new endpoints.

This class is meant for internal use only.

  • Field Summary

    Fields inherited from class org.atmosphere.cpr.AsynchronousProcessor

    cancelledAction, config, timedoutAction
  • Constructor Summary

    Constructors
    Constructor
    Description
    QuarkusJSR356AsyncSupport(org.atmosphere.cpr.AtmosphereConfig config)
    Creates the async support for the given Atmosphere configuration.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     

    Methods inherited from class org.atmosphere.container.Servlet30CometSupport

    action, cancelled, complete, endAsyncContext, getContainerName, service

    Methods inherited from class org.atmosphere.cpr.AsynchronousProcessor

    allowSessionTimeoutRemoval, completeLifecycle, endRequest, init, invokeAtmosphereHandler, invokeInterceptors, map, postInterceptors, resumed, shutdown, supportSession, suspended, timedout

    Methods inherited from class java.lang.Object

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

    • QuarkusJSR356AsyncSupport

      public QuarkusJSR356AsyncSupport(org.atmosphere.cpr.AtmosphereConfig config)
      Creates the async support for the given Atmosphere configuration.
      Parameters:
      config - the Atmosphere configuration
  • Method Details

    • supportWebSocket

      public boolean supportWebSocket()
      Specified by:
      supportWebSocket in interface org.atmosphere.cpr.AsyncSupport<org.atmosphere.cpr.AtmosphereResourceImpl>
      Overrides:
      supportWebSocket in class org.atmosphere.cpr.AsynchronousProcessor