Class CdiRequestDispatcher
- java.lang.Object
-
- org.jboss.resteasy.plugins.server.netty.RequestDispatcher
-
- org.jboss.resteasy.plugins.server.netty.cdi.CdiRequestDispatcher
-
@Vetoed public class CdiRequestDispatcher extends RequestDispatcher
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
Constructors Constructor Description CdiRequestDispatcher(SynchronousDispatcher dispatcher, ResteasyProviderFactory providerFactory, SecurityDomain domain)
CdiRequestDispatcher(SynchronousDispatcher dispatcher, ResteasyProviderFactory providerFactory, SecurityDomain domain, jakarta.enterprise.inject.Instance<Object> cdi)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 Detail
-
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 Detail
-
service
public void service(io.netty.channel.ChannelHandlerContext ctx, HttpRequest request, HttpResponse response, boolean handleNotFound) throws IOException
- Overrides:
service
in classRequestDispatcher
- Throws:
IOException
-
-