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
FieldsModifier and TypeFieldDescription(package private) static org.jboss.resteasy.reactive.server.core.Deployment(package private) static final org.jboss.logging.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbeanUnavailable(String className) 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 servletPresent) org.jboss.resteasy.reactive.server.core.ServerSerialisersio.vertx.core.Handler<io.vertx.ext.web.RoutingContext>defaultAuthFailureHandler(io.quarkus.runtime.RuntimeValue<org.jboss.resteasy.reactive.server.core.Deployment> deployment, boolean setTemplatePath) disableIfPropertyMatches(String propertyName, String propertyValue, boolean disableIfMissing) factoryCreator(io.quarkus.arc.runtime.BeanContainer container) io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>failureHandler(io.quarkus.runtime.RuntimeValue<org.jboss.resteasy.reactive.server.handlers.RestInitialHandler> restInitialHandlerRuntimeValue, boolean noCustomAuthCompletionExMapper, boolean noCustomAuthFailureExMapper, boolean noCustomAuthRedirectExMapper, boolean proactive) static org.jboss.resteasy.reactive.server.core.DeploymentSupplier<jakarta.ws.rs.core.Application>handleApplication(Class<? extends jakarta.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.handlers.RestInitialHandler> restInitialHandlerRuntimeValue) Supplier<org.jboss.resteasy.reactive.server.spi.EndpointInvoker>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) io.quarkus.runtime.RuntimeValue<org.jboss.resteasy.reactive.server.handlers.RestInitialHandler>restInitialHandler(io.quarkus.runtime.RuntimeValue<org.jboss.resteasy.reactive.server.core.Deployment> deploymentRuntimeValue) Methods inherited from class io.quarkus.resteasy.reactive.common.runtime.ResteasyReactiveCommonRecorder
factory, loadClass, registerReader, registerWriter
-
Field Details
-
logger
static final org.jboss.logging.Logger logger -
EXECUTOR_SUPPLIER
-
VTHREAD_EXECUTOR_SUPPLIER
-
currentDeployment
static volatile org.jboss.resteasy.reactive.server.core.Deployment currentDeployment
-
-
Constructor Details
-
ResteasyReactiveRecorder
public ResteasyReactiveRecorder()
-
-
Method Details
-
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 servletPresent) -
restInitialHandler
public io.quarkus.runtime.RuntimeValue<org.jboss.resteasy.reactive.server.handlers.RestInitialHandler> restInitialHandler(io.quarkus.runtime.RuntimeValue<org.jboss.resteasy.reactive.server.core.Deployment> deploymentRuntimeValue) -
handler
public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler(io.quarkus.runtime.RuntimeValue<org.jboss.resteasy.reactive.server.handlers.RestInitialHandler> restInitialHandlerRuntimeValue) -
failureHandler
public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> failureHandler(io.quarkus.runtime.RuntimeValue<org.jboss.resteasy.reactive.server.handlers.RestInitialHandler> restInitialHandlerRuntimeValue, boolean noCustomAuthCompletionExMapper, boolean noCustomAuthFailureExMapper, boolean noCustomAuthRedirectExMapper, boolean proactive) -
handleApplication
public Supplier<jakarta.ws.rs.core.Application> handleApplication(Class<? extends jakarta.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
-
registerContextResolver
public void registerContextResolver(org.jboss.resteasy.reactive.server.model.ContextResolvers contextResolvers, String string, org.jboss.resteasy.reactive.common.model.ResourceContextResolver resolver) -
invoker
- Specified by:
invokerin interfaceorg.jboss.resteasy.reactive.server.spi.EndpointInvokerFactory
-
factoryCreator
-
clientProxyUnwrapper
-
disableIfPropertyMatches
-
createServerSerialisers
public org.jboss.resteasy.reactive.server.core.ServerSerialisers createServerSerialisers() -
defaultAuthFailureHandler
public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> defaultAuthFailureHandler(io.quarkus.runtime.RuntimeValue<org.jboss.resteasy.reactive.server.core.Deployment> deployment, boolean setTemplatePath)
-