deegree 2.5 (2011/06/29 09:44 build-8-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:
java.io.Serializable, javax.servlet.Servlet, javax.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.

Version:
$Revision: 26622 $, $Date: 22.04.2008 16:23:34$
Author:
Torsten Friebe , last edited by: $Author: aschmitz $
See Also:
Front controller , Serialized Form

Field Summary
static java.lang.String address
          address is the url of the client which requests.
 
Constructor Summary
OGCServletController()
           
 
Method Summary
 void ctDestroyed()
           
 void destroy()
           
protected  void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void doService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.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 java.lang.String address
address is the url of the client which requests.

Constructor Detail

OGCServletController

public OGCServletController()
Method Detail

doService

public void doService(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
Parameters:
request -
response -
To do:
refactor and optimize code for initializing handler

doGet

protected void doGet(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException,
                     java.io.IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException
See Also:
HttpServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)

doPost

protected void doPost(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws javax.servlet.ServletException,
                      java.io.IOException
Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

init

public void init()
          throws javax.servlet.ServletException
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.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 javax.servlet.Servlet
Overrides:
destroy in class javax.servlet.GenericServlet

deegree 2.5 (2011/06/29 09:44 build-8-official)

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