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 ServletConfig -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()voidinit(ServletContext servletContext, ConfigurationBootstrap bootstrap, HttpRequestFactory requestFactory, HttpResponseFactory responseFactory) protected voidprocessApplication(Application config) voidservice(String httpMethod, HttpServletRequest request, HttpServletResponse response, boolean handleNotFound) voidsetDispatcher(Dispatcher dispatcher)
-
Field Details
-
dispatcher
-
providerFactory
-
deployment
-
requestFactory
-
responseFactory
-
servletConfig
-
-
Constructor Details
-
ServletContainerDispatcher
-
ServletContainerDispatcher
public ServletContainerDispatcher()
-
-
Method Details
-
getDispatcher
-
init
public void init(ServletContext servletContext, ConfigurationBootstrap bootstrap, HttpRequestFactory requestFactory, HttpResponseFactory responseFactory) throws ServletException - Throws:
ServletException
-
destroy
public void destroy() -
processApplication
-
setDispatcher
-
service
public void service(String httpMethod, HttpServletRequest request, HttpServletResponse response, boolean handleNotFound) throws IOException, NotFoundException - Throws:
IOExceptionNotFoundException
-