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 Details

    • logger

      static final org.jboss.logging.Logger logger
    • EXECUTOR_SUPPLIER

      public static final Supplier<Executor> EXECUTOR_SUPPLIER
    • VTHREAD_EXECUTOR_SUPPLIER

      public static final Supplier<Executor> 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

      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)
    • clientProxyUnwrapper

      public Function<Object,Object> clientProxyUnwrapper()
    • disableIfPropertyMatches

      public Supplier<Boolean> disableIfPropertyMatches(String propertyName, String propertyValue, boolean disableIfMissing)
    • 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)
    • beanUnavailable

      public Supplier<Boolean> beanUnavailable(String className)