Class HttpServletDispatcher
- java.lang.Object
-
- jakarta.servlet.GenericServlet
-
- jakarta.servlet.http.HttpServlet
-
- org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher
-
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
,HttpRequestFactory
,HttpResponseFactory
- Direct Known Subclasses:
HtmlServletDispatcher
,HttpServlet30Dispatcher
public class HttpServletDispatcher extends jakarta.servlet.http.HttpServlet implements HttpRequestFactory, HttpResponseFactory
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ServletContainerDispatcher
servletContainerDispatcher
-
Constructor Summary
Constructors Constructor Description HttpServletDispatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected HttpRequest
createHttpRequest(String httpMethod, jakarta.servlet.http.HttpServletRequest request, ResteasyHttpHeaders headers, ResteasyUriInfo uriInfo, HttpResponse theResponse, jakarta.servlet.http.HttpServletResponse response)
HttpRequest
createResteasyHttpRequest(String httpMethod, jakarta.servlet.http.HttpServletRequest request, ResteasyHttpHeaders headers, ResteasyUriInfo uriInfo, HttpResponse theResponse, jakarta.servlet.http.HttpServletResponse response)
HttpResponse
createResteasyHttpResponse(jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.http.HttpServletRequest request)
protected HttpResponse
createServletResponse(jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.http.HttpServletRequest request)
void
destroy()
Dispatcher
getDispatcher()
void
init(jakarta.servlet.ServletConfig servletConfig)
protected void
service(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse)
void
service(String httpMethod, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
-
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
-
-
-
-
Field Detail
-
servletContainerDispatcher
protected ServletContainerDispatcher servletContainerDispatcher
-
-
Method Detail
-
getDispatcher
public Dispatcher getDispatcher()
-
init
public void init(jakarta.servlet.ServletConfig servletConfig) throws jakarta.servlet.ServletException
- Specified by:
init
in interfacejakarta.servlet.Servlet
- Overrides:
init
in classjakarta.servlet.http.HttpServlet
- Throws:
jakarta.servlet.ServletException
-
destroy
public void destroy()
- Specified by:
destroy
in interfacejakarta.servlet.Servlet
- Overrides:
destroy
in classjakarta.servlet.GenericServlet
-
service
protected void service(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse) throws jakarta.servlet.ServletException, IOException
- Overrides:
service
in classjakarta.servlet.http.HttpServlet
- Throws:
jakarta.servlet.ServletException
IOException
-
service
public void service(String httpMethod, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException
- Throws:
IOException
-
createResteasyHttpRequest
public HttpRequest createResteasyHttpRequest(String httpMethod, jakarta.servlet.http.HttpServletRequest request, ResteasyHttpHeaders headers, ResteasyUriInfo uriInfo, HttpResponse theResponse, jakarta.servlet.http.HttpServletResponse response)
- Specified by:
createResteasyHttpRequest
in interfaceHttpRequestFactory
-
createResteasyHttpResponse
public HttpResponse createResteasyHttpResponse(jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.http.HttpServletRequest request)
- Specified by:
createResteasyHttpResponse
in interfaceHttpResponseFactory
-
createHttpRequest
protected HttpRequest createHttpRequest(String httpMethod, jakarta.servlet.http.HttpServletRequest request, ResteasyHttpHeaders headers, ResteasyUriInfo uriInfo, HttpResponse theResponse, jakarta.servlet.http.HttpServletResponse response)
-
createServletResponse
protected HttpResponse createServletResponse(jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.http.HttpServletRequest request)
-
-