Class ResteasyReactiveRecorder
- java.lang.Object
-
- io.quarkus.resteasy.reactive.common.runtime.ResteasyReactiveCommonRecorder
-
- io.quarkus.resteasy.reactive.server.runtime.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 Summary
Fields Modifier and Type Field Description (package private) static org.jboss.resteasy.reactive.server.core.DeploymentcurrentDeploymentstatic Supplier<Executor>EXECUTOR_SUPPLIER(package private) static org.jboss.logging.Loggerloggerstatic Supplier<Executor>VIRTUAL_EXECUTOR_SUPPLIER
-
Constructor Summary
Constructors Constructor Description ResteasyReactiveRecorder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)org.jboss.resteasy.reactive.server.core.ServerSerialiserscreateServerSerialisers()Function<Class<?>,org.jboss.resteasy.reactive.spi.BeanFactory<?>>factoryCreator(io.quarkus.arc.runtime.BeanContainer container)static org.jboss.resteasy.reactive.server.core.DeploymentgetCurrentDeployment()Supplier<javax.ws.rs.core.Application>handleApplication(Class<? extends javax.ws.rs.core.Application> applicationClass, boolean singletonClassesEmpty)This is Quarkus specific.io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>handler(io.quarkus.runtime.RuntimeValue<org.jboss.resteasy.reactive.server.core.Deployment> deploymentRuntimeValue)Supplier<org.jboss.resteasy.reactive.server.spi.EndpointInvoker>invoker(String baseName)voidregisterContextResolver(org.jboss.resteasy.reactive.server.model.ContextResolvers contextResolvers, String string, org.jboss.resteasy.reactive.common.model.ResourceContextResolver resolver)voidregisterExceptionMapper(org.jboss.resteasy.reactive.server.core.ExceptionMapping exceptionMapping, String string, org.jboss.resteasy.reactive.common.model.ResourceExceptionMapper<Throwable> mapper)-
Methods inherited from class io.quarkus.resteasy.reactive.common.runtime.ResteasyReactiveCommonRecorder
factory, loadClass, registerReader, registerWriter
-
-
-
-
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:
invokerin interfaceorg.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()
-
-