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:
-
Field Summary
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected HttpRequest
createHttpRequest
(String httpMethod, jakarta.servlet.http.HttpServletRequest request, ResteasyHttpHeaders headers, ResteasyUriInfo uriInfo, HttpResponse theResponse, jakarta.servlet.http.HttpServletResponse response) createResteasyHttpRequest
(String httpMethod, jakarta.servlet.http.HttpServletRequest request, ResteasyHttpHeaders headers, ResteasyUriInfo uriInfo, HttpResponse theResponse, jakarta.servlet.http.HttpServletResponse response) 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()
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
Methods inherited from class jakarta.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Field Details
-
servletContainerDispatcher
-
-
Constructor Details
-
HttpServletDispatcher
public HttpServletDispatcher()
-
-
Method Details
-
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)
-