public class HttpServletDispatcher extends javax.servlet.http.HttpServlet implements HttpRequestFactory, HttpResponseFactory
Modifier and Type | Field and Description |
---|---|
protected ServletContainerDispatcher |
servletContainerDispatcher |
Constructor and Description |
---|
HttpServletDispatcher() |
Modifier and Type | Method and Description |
---|---|
protected HttpRequest |
createHttpRequest(String httpMethod,
javax.servlet.http.HttpServletRequest request,
ResteasyHttpHeaders headers,
ResteasyUriInfo uriInfo,
HttpResponse theResponse,
javax.servlet.http.HttpServletResponse response) |
HttpRequest |
createResteasyHttpRequest(String httpMethod,
javax.servlet.http.HttpServletRequest request,
ResteasyHttpHeaders headers,
ResteasyUriInfo uriInfo,
HttpResponse theResponse,
javax.servlet.http.HttpServletResponse response) |
HttpResponse |
createResteasyHttpResponse(javax.servlet.http.HttpServletResponse response) |
protected HttpResponse |
createServletResponse(javax.servlet.http.HttpServletResponse response) |
void |
destroy() |
Dispatcher |
getDispatcher() |
void |
init(javax.servlet.ServletConfig servletConfig) |
protected void |
service(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
void |
service(String httpMethod,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
protected ServletContainerDispatcher servletContainerDispatcher
public Dispatcher getDispatcher()
public void init(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
protected void service(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws javax.servlet.ServletException, IOException
service
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
public void service(String httpMethod, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
IOException
public HttpRequest createResteasyHttpRequest(String httpMethod, javax.servlet.http.HttpServletRequest request, ResteasyHttpHeaders headers, ResteasyUriInfo uriInfo, HttpResponse theResponse, javax.servlet.http.HttpServletResponse response)
createResteasyHttpRequest
in interface HttpRequestFactory
public HttpResponse createResteasyHttpResponse(javax.servlet.http.HttpServletResponse response)
createResteasyHttpResponse
in interface HttpResponseFactory
protected HttpRequest createHttpRequest(String httpMethod, javax.servlet.http.HttpServletRequest request, ResteasyHttpHeaders headers, ResteasyUriInfo uriInfo, HttpResponse theResponse, javax.servlet.http.HttpServletResponse response)
protected HttpResponse createServletResponse(javax.servlet.http.HttpServletResponse response)
Copyright © 2014. All Rights Reserved.