Class CdiRequestDispatcher
java.lang.Object
org.jboss.resteasy.plugins.server.netty.RequestDispatcher
org.jboss.resteasy.plugins.server.netty.cdi.CdiRequestDispatcher
A request dispatcher that starts a RequestContext during invocation.
-
Field Summary
Fields inherited from class org.jboss.resteasy.plugins.server.netty.RequestDispatcher
dispatcher, domain, providerFactory
-
Constructor Summary
ConstructorDescriptionCdiRequestDispatcher
(SynchronousDispatcher dispatcher, ResteasyProviderFactory providerFactory, SecurityDomain domain) CdiRequestDispatcher
(SynchronousDispatcher dispatcher, ResteasyProviderFactory providerFactory, SecurityDomain domain, jakarta.enterprise.inject.Instance<Object> cdi) -
Method Summary
Modifier and TypeMethodDescriptionvoid
service
(io.netty.channel.ChannelHandlerContext ctx, HttpRequest request, HttpResponse response, boolean handleNotFound) Methods inherited from class org.jboss.resteasy.plugins.server.netty.RequestDispatcher
getDispatcher, getDomain, getProviderFactory
-
Constructor Details
-
CdiRequestDispatcher
public CdiRequestDispatcher(SynchronousDispatcher dispatcher, ResteasyProviderFactory providerFactory, SecurityDomain domain) -
CdiRequestDispatcher
public CdiRequestDispatcher(SynchronousDispatcher dispatcher, ResteasyProviderFactory providerFactory, SecurityDomain domain, jakarta.enterprise.inject.Instance<Object> cdi)
-
-
Method Details
-
service
public void service(io.netty.channel.ChannelHandlerContext ctx, HttpRequest request, HttpResponse response, boolean handleNotFound) throws IOException - Overrides:
service
in classRequestDispatcher
- Throws:
IOException
-