Class RequestDispatcher
java.lang.Object
org.jboss.resteasy.plugins.server.vertx.RequestDispatcher
Helper/delegate class to unify Servlet and Filter dispatcher implementations
- Version:
- $Revision: 1 $
- Author:
- Bill Burke, Norman Maurer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.jboss.resteasy.core.SynchronousDispatcherprotected final org.jboss.resteasy.plugins.server.embedded.SecurityDomainprotected final ResteasyProviderFactory -
Constructor Summary
ConstructorsConstructorDescriptionRequestDispatcher(org.jboss.resteasy.core.SynchronousDispatcher dispatcher, ResteasyProviderFactory providerFactory, org.jboss.resteasy.plugins.server.embedded.SecurityDomain domain) -
Method Summary
Modifier and TypeMethodDescriptionprotected jakarta.ws.rs.core.SecurityContextauthenticate(HttpRequest request, HttpResponse response) org.jboss.resteasy.core.SynchronousDispatcherorg.jboss.resteasy.plugins.server.embedded.SecurityDomainvoidservice(io.vertx.core.Context context, io.vertx.core.http.HttpServerRequest req, io.vertx.core.http.HttpServerResponse resp, HttpRequest vertxReq, HttpResponse vertxResp, boolean handleNotFound)
-
Field Details
-
dispatcher
protected final org.jboss.resteasy.core.SynchronousDispatcher dispatcher -
providerFactory
-
domain
protected final org.jboss.resteasy.plugins.server.embedded.SecurityDomain domain
-
-
Constructor Details
-
RequestDispatcher
public RequestDispatcher(org.jboss.resteasy.core.SynchronousDispatcher dispatcher, ResteasyProviderFactory providerFactory, org.jboss.resteasy.plugins.server.embedded.SecurityDomain domain)
-
-
Method Details
-
getDispatcher
public org.jboss.resteasy.core.SynchronousDispatcher getDispatcher() -
getDomain
public org.jboss.resteasy.plugins.server.embedded.SecurityDomain getDomain() -
getProviderFactory
-
service
public void service(io.vertx.core.Context context, io.vertx.core.http.HttpServerRequest req, io.vertx.core.http.HttpServerResponse resp, HttpRequest vertxReq, HttpResponse vertxResp, boolean handleNotFound) throws IOException - Throws:
IOException
-
authenticate
protected jakarta.ws.rs.core.SecurityContext authenticate(HttpRequest request, HttpResponse response) throws IOException - Throws:
IOException
-