deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.enterprise.control
Class RequestDispatcher

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.deegree.enterprise.control.RequestDispatcher
All Implemented Interfaces:
Serializable, Servlet, ServletConfig
Direct Known Subclasses:
MapRequestDispatcher, PortalRequestDispatcher, SecurityRequestDispatcher, SOSClientRequestDispatcher

public class RequestDispatcher
extends HttpServlet

This is a RequestDispatcher which creates an event out of a GET or POST request.

Version:
$Revision: 9338 $ $Date: 2007-12-27 13:31:31 +0100 (Do, 27 Dez 2007) $
Author:
Andreas Poth , last edited by: $Author: mays$
See Also:
Serialized Form

Field Summary
protected  ApplicationHandler appHandler
           
 
Constructor Summary
RequestDispatcher()
           
 
Method Summary
protected  FormEvent createEvent(HttpServletRequest request)
           
protected  void deliverEvent(FormEvent event)
           
 void init(ServletConfig cfg)
          This method initializes the servlet.
protected  void service(HttpServletRequest request, 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
 

Field Detail

appHandler

protected transient ApplicationHandler appHandler
Constructor Detail

RequestDispatcher

public RequestDispatcher()
Method Detail

init

public void init(ServletConfig cfg)
          throws ServletException
This method initializes the servlet.

Specified by:
init in interface Servlet
Overrides:
init in class GenericServlet
Parameters:
cfg - the servlet configuration
Throws:
ServletException - an exception

service

protected void service(HttpServletRequest request,
                       HttpServletResponse response)
                throws ServletException,
                       IOException
Overrides:
service in class HttpServlet
Parameters:
request -
response -
Throws:
ServletException
IOException

createEvent

protected FormEvent createEvent(HttpServletRequest request)
Parameters:
original - request from the service
Returns:
a new WebEvent which wraps the request into a ServletRequestWrapper.

deliverEvent

protected void deliverEvent(FormEvent event)
Parameters:
event -

deegree 2.2 (2008/12/22 11:33 build-3038-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net