org.deegree_impl.enterprise
Class WTSServlet

java.lang.Object
  extended byHttpServlet
      extended byorg.deegree_impl.enterprise.AbstractOGCServlet
          extended byorg.deegree_impl.enterprise.WTSServlet

public class WTSServlet
extends AbstractOGCServlet

Serves as an OCC-compliant HTTP-frontend to the WTS.

Version:
$Revision: 1.14 $ $Date: 2004/03/17 07:58:15 $
Author:
Markus Schneider
See Also:
Serialized Form

Nested Class Summary
private  class WTSServlet.WTS
           
 
Nested classes inherited from class org.deegree_impl.enterprise.AbstractOGCServlet
AbstractOGCServlet.Reloader
 
Field Summary
private  java.lang.Exception initException
           
protected  WTServicePool servicePool
           
 
Fields inherited from class org.deegree_impl.enterprise.AbstractOGCServlet
capabilitiesURL, reloader
 
Constructor Summary
WTSServlet()
           
 
Method Summary
 void doGet(HttpServletRequest req, HttpServletResponse resp)
          Called by the server (via the service method) to allow a servlet to handle a GET request.
 void init(ServletConfig servletConfig)
          Called by the servlet container to indicate that the servlet is being placed into service.
protected  void initService()
          Called when reinitialization of the service is necessary, e.g.
private  java.util.HashMap mapParams(HttpServletRequest request)
           
 
Methods inherited from class org.deegree_impl.enterprise.AbstractOGCServlet
destroy, enableReloader, getParamMap, handleError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

servicePool

protected WTServicePool servicePool

initException

private java.lang.Exception initException
Constructor Detail

WTSServlet

public WTSServlet()
Method Detail

doGet

public void doGet(HttpServletRequest req,
                  HttpServletResponse resp)
Called by the server (via the service method) to allow a servlet to handle a GET request.

Parameters:
req - an HttpServletRequest object that contains the request the client has made to the servlet
resp - an HttpServletResponse object that contains the response the servlet sends to the client

mapParams

private java.util.HashMap mapParams(HttpServletRequest request)

init

public void init(ServletConfig servletConfig)
          throws ServletException
Called by the servlet container to indicate that the servlet is being placed into service.

Overrides:
init in class AbstractOGCServlet
Parameters:
servletConfig - servlet configuration
Throws:
ServletException - exception if something occurred that interferes with the servlet's normal operation

initService

protected void initService()
Called when reinitialization of the service is necessary, e.g. the configuration file was altered.

Specified by:
initService in class AbstractOGCServlet