org.jboss.resteasy.plugins.server.servlet
Class HttpServletDispatcher
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, HttpRequestFactory, HttpResponseFactory
- Direct Known Subclasses:
- HtmlServletDispatcher, HttpServlet30Dispatcher, JBossWebDispatcherServlet, TJWSServletDispatcher, Tomcat6CometDispatcherServlet
public class HttpServletDispatcher
- extends javax.servlet.http.HttpServlet
- implements HttpRequestFactory, HttpResponseFactory
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
- See Also:
- Serialized Form
Method Summary |
protected HttpRequest |
createHttpRequest(java.lang.String httpMethod,
javax.servlet.http.HttpServletRequest request,
HttpHeaders headers,
UriInfoImpl uriInfo,
HttpResponse theResponse,
javax.servlet.http.HttpServletResponse response)
|
HttpRequest |
createResteasyHttpRequest(java.lang.String httpMethod,
javax.servlet.http.HttpServletRequest request,
HttpHeaders headers,
UriInfoImpl uriInfo,
HttpResponse theResponse,
javax.servlet.http.HttpServletResponse response)
|
HttpResponse |
createResteasyHttpResponse(javax.servlet.http.HttpServletResponse response)
|
protected HttpResponse |
createServletResponse(javax.servlet.http.HttpServletResponse response)
|
Dispatcher |
getDispatcher()
|
void |
init(javax.servlet.ServletConfig servletConfig)
|
protected void |
service(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
|
void |
service(java.lang.String httpMethod,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
servletContainerDispatcher
protected ServletContainerDispatcher servletContainerDispatcher
HttpServletDispatcher
public HttpServletDispatcher()
getDispatcher
public Dispatcher getDispatcher()
init
public void init(javax.servlet.ServletConfig servletConfig)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Servlet
- Overrides:
init
in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
service
protected void service(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
service
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
service
public void service(java.lang.String httpMethod,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
- Throws:
java.io.IOException
createResteasyHttpRequest
public HttpRequest createResteasyHttpRequest(java.lang.String httpMethod,
javax.servlet.http.HttpServletRequest request,
HttpHeaders headers,
UriInfoImpl uriInfo,
HttpResponse theResponse,
javax.servlet.http.HttpServletResponse response)
- Specified by:
createResteasyHttpRequest
in interface HttpRequestFactory
createResteasyHttpResponse
public HttpResponse createResteasyHttpResponse(javax.servlet.http.HttpServletResponse response)
- Specified by:
createResteasyHttpResponse
in interface HttpResponseFactory
createHttpRequest
protected HttpRequest createHttpRequest(java.lang.String httpMethod,
javax.servlet.http.HttpServletRequest request,
HttpHeaders headers,
UriInfoImpl uriInfo,
HttpResponse theResponse,
javax.servlet.http.HttpServletResponse response)
createServletResponse
protected HttpResponse createServletResponse(javax.servlet.http.HttpServletResponse response)
Copyright © 2010. All Rights Reserved.