Package com.vaadin.quarkus.graal
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
ConstructorsConstructorDescriptionQuarkusJSR356AsyncSupport(org.atmosphere.cpr.AtmosphereConfig config) Creates the async support for the given Atmosphere configuration. -
Method Summary
Methods inherited from class org.atmosphere.container.Servlet30CometSupport
action, cancelled, complete, endAsyncContext, getContainerName, serviceMethods inherited from class org.atmosphere.cpr.AsynchronousProcessor
allowSessionTimeoutRemoval, completeLifecycle, endRequest, init, invokeAtmosphereHandler, invokeInterceptors, map, postInterceptors, resumed, shutdown, supportSession, suspended, timedout
-
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:
supportWebSocketin interfaceorg.atmosphere.cpr.AsyncSupport<org.atmosphere.cpr.AtmosphereResourceImpl>- Overrides:
supportWebSocketin classorg.atmosphere.cpr.AsynchronousProcessor
-