org.deegree.enterprise.control
Class RequestDispatcher
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.deegree.enterprise.control.RequestDispatcher
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- Direct Known Subclasses:
- MapRequestDispatcher, PortalRequestDispatcher, SecurityRequestDispatcher, SOSClientRequestDispatcher
public class RequestDispatcher
- extends javax.servlet.http.HttpServlet
This is a RequestDispatcher
which creates an event out of a GET or POST request.
- Version:
- $Revision: 18195 $ $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
- Author:
- Andreas Poth , last edited by: $Author: mays$
- See Also:
- Serialized Form
Method Summary |
protected FormEvent |
createEvent(javax.servlet.http.HttpServletRequest request)
|
protected void |
deliverEvent(FormEvent event)
|
void |
init(javax.servlet.ServletConfig cfg)
This method initializes the servlet. |
protected void |
service(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 |
appHandler
protected transient ApplicationHandler appHandler
RequestDispatcher
public RequestDispatcher()
init
public void init(javax.servlet.ServletConfig cfg)
throws javax.servlet.ServletException
- This method initializes the servlet.
- Specified by:
init
in interface javax.servlet.Servlet
- Overrides:
init
in class javax.servlet.GenericServlet
- Parameters:
cfg
- the servlet configuration
- Throws:
javax.servlet.ServletException
- an exception
service
protected void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
service
in class javax.servlet.http.HttpServlet
- Parameters:
request
- response
-
- Throws:
javax.servlet.ServletException
java.io.IOException
createEvent
protected FormEvent createEvent(javax.servlet.http.HttpServletRequest request)
- Parameters:
request
- request from the service
- Returns:
- a new WebEvent which wraps the request into a
ServletRequestWrapper
.
deliverEvent
protected void deliverEvent(FormEvent event)
- Parameters:
event
-
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org