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:
- 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. |
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 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 |
address
public static java.lang.String address
- address is the url of the client which requests.
OGCServletController
public OGCServletController()
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
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org