public class ResteasyReactiveRecorder extends ResteasyReactiveCommonRecorder
| Modifier and Type | Field and Description |
|---|---|
(package private) static org.jboss.resteasy.reactive.server.core.Deployment |
currentDeployment |
static Supplier<Executor> |
EXECUTOR_SUPPLIER |
| Constructor and Description |
|---|
ResteasyReactiveRecorder() |
| Modifier and Type | Method and 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) |
Function<Class<?>,org.jboss.resteasy.reactive.spi.BeanFactory<?>> |
factoryCreator(io.quarkus.arc.runtime.BeanContainer container) |
static org.jboss.resteasy.reactive.server.core.Deployment |
getCurrentDeployment() |
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) |
void |
registerContextResolver(org.jboss.resteasy.reactive.server.model.ContextResolvers contextResolvers,
String string,
org.jboss.resteasy.reactive.common.model.ResourceContextResolver resolver) |
void |
registerExceptionMapper(org.jboss.resteasy.reactive.server.core.ExceptionMapping exceptionMapping,
String string,
org.jboss.resteasy.reactive.common.model.ResourceExceptionMapper<Throwable> mapper) |
factory, loadClass, registerReader, registerWriterstatic volatile org.jboss.resteasy.reactive.server.core.Deployment currentDeployment
public static org.jboss.resteasy.reactive.server.core.Deployment getCurrentDeployment()
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)
public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler(io.quarkus.runtime.RuntimeValue<org.jboss.resteasy.reactive.server.core.Deployment> deploymentRuntimeValue)
public Supplier<javax.ws.rs.core.Application> handleApplication(Class<? extends javax.ws.rs.core.Application> applicationClass, boolean singletonClassesEmpty)
We have a strategy around handling the Application class and build time init, that allows for the singletons to still work.
applicationClass - singletonClassesEmpty - public void registerExceptionMapper(org.jboss.resteasy.reactive.server.core.ExceptionMapping exceptionMapping,
String string,
org.jboss.resteasy.reactive.common.model.ResourceExceptionMapper<Throwable> mapper)
public void registerContextResolver(org.jboss.resteasy.reactive.server.model.ContextResolvers contextResolvers,
String string,
org.jboss.resteasy.reactive.common.model.ResourceContextResolver resolver)
public Supplier<org.jboss.resteasy.reactive.server.spi.EndpointInvoker> invoker(String baseName)
Copyright © 2021 JBoss by Red Hat. All rights reserved.