org.deegree.enterprise.servlet
Class OGCServletController
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.deegree.enterprise.AbstractOGCServlet
org.deegree.enterprise.servlet.OGCServletController
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class OGCServletController
- extends AbstractOGCServlet
An OGCServletController
handles all incoming requests. The controller for all OGC
service requests. Dispatcher to specific handler for WMS, WFS and other.
- Author:
- Torsten Friebe , last edited by: $Author: rbezema $
- See Also:
- Front
controller ,
Serialized Form
Field Summary |
static String |
address
address is the url of the client which requests. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
address
public static String address
- address is the url of the client which requests.
OGCServletController
public OGCServletController()
doService
public void doService(HttpServletRequest request,
HttpServletResponse response)
throws ServiceException
- Parameters:
request
- response
-
- Throws:
ServiceException
- To do:
- refactor and optimize code for initializing handler
doGet
protected void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Overrides:
doGet
in class HttpServlet
- Throws:
ServletException
IOException
- See Also:
HttpServlet.doGet(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
doPost
protected void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Overrides:
doPost
in class HttpServlet
- Throws:
ServletException
IOException
init
public void init()
throws ServletException
- Overrides:
init
in class GenericServlet
- Throws:
ServletException
- See Also:
GenericServlet.init()
ctDestroyed
public void ctDestroyed()
- See Also:
ServletContextListener.contextDestroyed(javax.servlet.ServletContextEvent)
destroy
public void destroy()
- Specified by:
destroy
in interface Servlet
- Overrides:
destroy
in class GenericServlet
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net