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 Details

  • Constructor Details

    • HttpServletDispatcher

      public HttpServletDispatcher()
  • Method Details

    • getDispatcher

      public Dispatcher getDispatcher()
    • init

      public void init(jakarta.servlet.ServletConfig servletConfig) throws jakarta.servlet.ServletException
      Specified by:
      init in interface jakarta.servlet.Servlet
      Overrides:
      init in class jakarta.servlet.http.HttpServlet
      Throws:
      jakarta.servlet.ServletException
    • destroy

      public void destroy()
      Specified by:
      destroy in interface jakarta.servlet.Servlet
      Overrides:
      destroy in class jakarta.servlet.GenericServlet
    • service

      protected void service(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse) throws jakarta.servlet.ServletException, IOException
      Overrides:
      service in class jakarta.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 interface HttpRequestFactory
    • createResteasyHttpResponse

      public HttpResponse createResteasyHttpResponse(jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      createResteasyHttpResponse in interface HttpResponseFactory
    • 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)