public class ServletContainerDispatcher extends Object
Modifier and Type | Field and Description |
---|---|
protected ResteasyDeployment |
deployment |
protected Dispatcher |
dispatcher |
protected ResteasyProviderFactory |
providerFactory |
protected HttpRequestFactory |
requestFactory |
protected HttpResponseFactory |
responseFactory |
protected javax.servlet.ServletConfig |
servletConfig |
Constructor and Description |
---|
ServletContainerDispatcher() |
ServletContainerDispatcher(javax.servlet.ServletConfig servletConfig) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
Dispatcher |
getDispatcher() |
void |
init(javax.servlet.ServletContext servletContext,
ConfigurationBootstrap bootstrap,
HttpRequestFactory requestFactory,
HttpResponseFactory responseFactory) |
protected void |
processApplication(javax.ws.rs.core.Application config) |
void |
service(String httpMethod,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
boolean handleNotFound) |
void |
setDispatcher(Dispatcher dispatcher) |
protected Dispatcher dispatcher
protected ResteasyProviderFactory providerFactory
protected ResteasyDeployment deployment
protected HttpRequestFactory requestFactory
protected HttpResponseFactory responseFactory
protected javax.servlet.ServletConfig servletConfig
public ServletContainerDispatcher(javax.servlet.ServletConfig servletConfig)
public ServletContainerDispatcher()
public Dispatcher getDispatcher()
public void init(javax.servlet.ServletContext servletContext, ConfigurationBootstrap bootstrap, HttpRequestFactory requestFactory, HttpResponseFactory responseFactory) throws javax.servlet.ServletException
javax.servlet.ServletException
public void destroy()
protected void processApplication(javax.ws.rs.core.Application config)
public void setDispatcher(Dispatcher dispatcher)
public void service(String httpMethod, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean handleNotFound) throws IOException, javax.ws.rs.NotFoundException
IOException
javax.ws.rs.NotFoundException
Copyright © 2021 JBoss by Red Hat. All rights reserved.