Class ResteasyReactiveRecorder

  • All Implemented Interfaces:
    org.jboss.resteasy.reactive.server.spi.EndpointInvokerFactory

    public class ResteasyReactiveRecorder
    extends ResteasyReactiveCommonRecorder
    implements org.jboss.resteasy.reactive.server.spi.EndpointInvokerFactory
    • Field Detail

      • currentDeployment

        static volatile org.jboss.resteasy.reactive.server.core.Deployment currentDeployment
    • Constructor Detail

      • ResteasyReactiveRecorder

        public ResteasyReactiveRecorder()
    • Method Detail

      • getCurrentDeployment

        public static org.jboss.resteasy.reactive.server.core.Deployment getCurrentDeployment()
      • createDeployment

        public io.quarkus.runtime.RuntimeValue<org.jboss.resteasy.reactive.server.core.Deployment> createDeployment​(org.jboss.resteasy.reactive.server.core.DeploymentInfo info,
                                                                                                                    io.quarkus.arc.runtime.BeanContainer beanContainer,
                                                                                                                    io.quarkus.runtime.ShutdownContext shutdownContext,
                                                                                                                    HttpBuildTimeConfig vertxConfig,
                                                                                                                    org.jboss.resteasy.reactive.server.core.RequestContextFactory contextFactory,
                                                                                                                    org.jboss.resteasy.reactive.spi.BeanFactory<ResteasyReactiveInitialiser> initClassFactory,
                                                                                                                    io.quarkus.runtime.LaunchMode launchMode,
                                                                                                                    boolean resumeOn404)
      • handler

        public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler​(io.quarkus.runtime.RuntimeValue<org.jboss.resteasy.reactive.server.core.Deployment> deploymentRuntimeValue)
      • handleApplication

        public Supplier<javax.ws.rs.core.Application> handleApplication​(Class<? extends javax.ws.rs.core.Application> applicationClass,
                                                                        boolean singletonClassesEmpty)
        This is Quarkus specific.

        We have a strategy around handling the Application class and build time init, that allows for the singletons to still work.

        Parameters:
        applicationClass -
        singletonClassesEmpty -
        Returns:
      • registerExceptionMapper

        public void registerExceptionMapper​(org.jboss.resteasy.reactive.server.core.ExceptionMapping exceptionMapping,
                                            String string,
                                            org.jboss.resteasy.reactive.common.model.ResourceExceptionMapper<Throwable> mapper)
      • registerContextResolver

        public void registerContextResolver​(org.jboss.resteasy.reactive.server.model.ContextResolvers contextResolvers,
                                            String string,
                                            org.jboss.resteasy.reactive.common.model.ResourceContextResolver resolver)
      • invoker

        public Supplier<org.jboss.resteasy.reactive.server.spi.EndpointInvoker> invoker​(String baseName)
        Specified by:
        invoker in interface org.jboss.resteasy.reactive.server.spi.EndpointInvokerFactory
      • factoryCreator

        public Function<Class<?>,​org.jboss.resteasy.reactive.spi.BeanFactory<?>> factoryCreator​(io.quarkus.arc.runtime.BeanContainer container)
      • createServerSerialisers

        public org.jboss.resteasy.reactive.server.core.ServerSerialisers createServerSerialisers()