Class AtmospherePatches
java.lang.Object
com.vaadin.quarkus.deployment.nativebuild.AtmospherePatches
Byte-code patches required to make Atmosphere work in a native image.
Atmosphere is compiled against the Servlet 5 API, so its implementations of the servlet API still declare methods that Servlet 6 removed, some of them with types it no longer has, and lack the ones it added. The patches align them with Servlet 6.
-
Constructor Summary
ConstructorsConstructorDescriptionAtmospherePatches(org.jboss.jandex.IndexView index) Creates the patches for the classes in the given index. -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.BytecodeTransformerBuildItem> producer) Registers the bytecode transformers that apply the patches.
-
Constructor Details
-
AtmospherePatches
public AtmospherePatches(org.jboss.jandex.IndexView index) Creates the patches for the classes in the given index.- Parameters:
index- the index to look up the Atmosphere classes to patch in
-
-
Method Details
-
apply
public void apply(io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.BytecodeTransformerBuildItem> producer) Registers the bytecode transformers that apply the patches.- Parameters:
producer- the producer of the bytecode transformers
-