org.jboss.resteasy.plugins.server.servlet
Class HttpServletDispatcher

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
HttpServlet30Dispatcher, JBossWebDispatcherServlet, TJWSServletDispatcher, Tomcat6CometDispatcherServlet

public class HttpServletDispatcher
extends javax.servlet.http.HttpServlet

Version:
$Revision: 1 $
Author:
Bill Burke
See Also:
Serialized Form

Field Summary
protected  ResteasyDeployment deployment
           
protected  Dispatcher dispatcher
           
protected  ResteasyProviderFactory providerFactory
           
 
Constructor Summary
HttpServletDispatcher()
           
 
Method Summary
protected  HttpRequest createHttpRequest(java.lang.String httpMethod, javax.servlet.http.HttpServletRequest request, HttpHeaders headers, UriInfoImpl uriInfo, HttpResponse theResponse)
           
protected  HttpResponse createServletResponse(javax.servlet.http.HttpServletResponse response)
           
 Dispatcher getDispatcher()
           
 void init(javax.servlet.ServletConfig servletConfig)
           
protected  void processApplication(Application config)
           
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)
           
 void setDispatcher(Dispatcher dispatcher)
           
 
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
 

Field Detail

dispatcher

protected Dispatcher dispatcher

providerFactory

protected ResteasyProviderFactory providerFactory

deployment

protected ResteasyDeployment deployment
Constructor Detail

HttpServletDispatcher

public HttpServletDispatcher()
Method Detail

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

processApplication

protected void processApplication(Application config)

setDispatcher

public void setDispatcher(Dispatcher dispatcher)

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

createHttpRequest

protected HttpRequest createHttpRequest(java.lang.String httpMethod,
                                        javax.servlet.http.HttpServletRequest request,
                                        HttpHeaders headers,
                                        UriInfoImpl uriInfo,
                                        HttpResponse theResponse)

createServletResponse

protected HttpResponse createServletResponse(javax.servlet.http.HttpServletResponse response)


Copyright © 2009. All Rights Reserved.