Class ServletContainerDispatcher
java.lang.Object
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher
Helper/delegate class to unify Servlet and Filter dispatcher implementations
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Modifier and TypeFieldDescriptionprotected ResteasyDeployment
protected Dispatcher
protected ResteasyProviderFactory
protected HttpRequestFactory
protected HttpResponseFactory
protected jakarta.servlet.ServletConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
void
init
(jakarta.servlet.ServletContext servletContext, ConfigurationBootstrap bootstrap, HttpRequestFactory requestFactory, HttpResponseFactory responseFactory) protected void
processApplication
(jakarta.ws.rs.core.Application config) void
service
(String httpMethod, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, boolean handleNotFound) void
setDispatcher
(Dispatcher dispatcher)
-
Field Details
-
dispatcher
-
providerFactory
-
deployment
-
requestFactory
-
responseFactory
-
servletConfig
protected jakarta.servlet.ServletConfig servletConfig
-
-
Constructor Details
-
ServletContainerDispatcher
public ServletContainerDispatcher(jakarta.servlet.ServletConfig servletConfig) -
ServletContainerDispatcher
public ServletContainerDispatcher()
-
-
Method Details
-
getDispatcher
-
init
public void init(jakarta.servlet.ServletContext servletContext, ConfigurationBootstrap bootstrap, HttpRequestFactory requestFactory, HttpResponseFactory responseFactory) throws jakarta.servlet.ServletException - Throws:
jakarta.servlet.ServletException
-
destroy
public void destroy() -
processApplication
protected void processApplication(jakarta.ws.rs.core.Application config) -
setDispatcher
-
service
public void service(String httpMethod, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, boolean handleNotFound) throws IOException, jakarta.ws.rs.NotFoundException - Throws:
IOException
jakarta.ws.rs.NotFoundException
-