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
FieldsModifier and TypeFieldDescriptionprotected ResteasyDeploymentprotected Dispatcherprotected ResteasyProviderFactoryprotected HttpRequestFactoryprotected HttpResponseFactoryprotected jakarta.servlet.ServletConfig -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()voidinit(jakarta.servlet.ServletContext servletContext, ConfigurationBootstrap bootstrap, HttpRequestFactory requestFactory, HttpResponseFactory responseFactory) protected voidprocessApplication(jakarta.ws.rs.core.Application config) voidservice(String httpMethod, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, boolean handleNotFound) voidsetDispatcher(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:
IOExceptionjakarta.ws.rs.NotFoundException
-