|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectHttpServlet
org.deegree_impl.enterprise.AbstractOGCServlet
Abstract servlet that serves as an OCC-compliant HTTP-frontend to any OGC-WebService (WFS, WMS, ...).
Nested Class Summary | |
protected class |
AbstractOGCServlet.Reloader
Inner class that is used to monitor the configuration file (capabilities-file). |
Field Summary | |
protected java.net.URL |
capabilitiesURL
|
AbstractOGCServlet.Reloader |
reloader
|
Constructor Summary | |
AbstractOGCServlet()
|
Method Summary | |
void |
destroy()
Called by the servlet container to indicate to a servlet that the servlet is being taken out of service. |
protected void |
enableReloader()
Enables reloading mechanism on configuration file changes. |
protected java.util.HashMap |
getParamMap(HttpServletRequest request)
Returns HTTP-parameters of a HttpServletRequest as a HashMap object. |
protected void |
handleError(java.lang.Exception ex,
HttpServletResponse response)
handles fatal errors by creating a OGC exception XML and sending it back to the client |
void |
init(ServletConfig servletConfig)
Called by the servlet container to indicate that the servlet is being placed into service. |
protected abstract void |
initService()
Called when a reinitialization of the service is necessary, e.g. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public AbstractOGCServlet.Reloader reloader
protected java.net.URL capabilitiesURL
Constructor Detail |
public AbstractOGCServlet()
Method Detail |
public void init(ServletConfig servletConfig) throws ServletException
NOTE: Everything that gets called by this method should not use Debug.xxx () to produce messages, but 'getServletContext.log ()'.
servletConfig
- servlet configuration
ServletException
- exception if something occurred that interferes
with the servlet's normal operationpublic void destroy()
protected java.util.HashMap getParamMap(HttpServletRequest request)
request
- source of the data
protected void enableReloader()
protected abstract void initService()
protected void handleError(java.lang.Exception ex, HttpServletResponse response)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |