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

org.deegree.enterprise.servlet
Class OGCServletController

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.deegree.enterprise.AbstractOGCServlet
              extended by 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.
 
Constructor Summary
OGCServletController()
           
 
Method Summary
 void ctDestroyed()
           
 void destroy()
           
protected  void doGet(HttpServletRequest request, HttpServletResponse response)
           
protected  void doPost(HttpServletRequest request, HttpServletResponse response)
           
 void doService(HttpServletRequest request, HttpServletResponse response)
           
 void init()
           
 
Methods inherited from class org.deegree.enterprise.AbstractOGCServlet
handleException, init
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

address

public static String address
address is the url of the client which requests.

Constructor Detail

OGCServletController

public OGCServletController()
Method Detail

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

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