org.deegree_impl.enterprise
Class WCSServlet

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

public class WCSServlet
extends AbstractOGCServlet

--------------------------------------------------------

Version:
$Revision: 1.26 $ $Date: 2004/03/16 08:07:23 $
Author:
Andreas Poth
See Also:
Serialized Form

Nested Class Summary
private  class WCSServlet.WCS
          private inner class for performing the request against the WCService
 
Nested classes inherited from class org.deegree_impl.enterprise.AbstractOGCServlet
AbstractOGCServlet.Reloader
 
Field Summary
protected  java.lang.String capabilitiesFile
           
private  CVDescriptor[] descriptors
           
private  java.lang.Exception initException
           
private  int initInstances
           
private  int maxInstances
           
protected  WCServicePool pool
           
protected  java.net.URL url
           
 
Fields inherited from class org.deegree_impl.enterprise.AbstractOGCServlet
capabilitiesURL, reloader
 
Constructor Summary
WCSServlet()
           
 
Method Summary
 void doGet(HttpServletRequest request, HttpServletResponse response)
           
 void doPost(HttpServletRequest request, HttpServletResponse response)
          performs a http-post request
 void init(ServletConfig servletConfig)
          init-method of the servlet. only once called
private  void initDescriptors()
          initializes a descriptor object for each coverage layer defined at the WCS capabilities
private  void initPool()
          initializes the WCService pool
protected  void initService()
          Called when a reinitialization of the service is necessary, e.g.
private  java.util.HashMap toModel(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

capabilitiesFile

protected java.lang.String capabilitiesFile

pool

protected WCServicePool pool

descriptors

private CVDescriptor[] descriptors

initInstances

private int initInstances

maxInstances

private int maxInstances

initException

private java.lang.Exception initException

url

protected java.net.URL url
Constructor Detail

WCSServlet

public WCSServlet()
Method Detail

init

public void init(ServletConfig servletConfig)
          throws ServletException
init-method of the servlet. only once called

Overrides:
init in class AbstractOGCServlet
Parameters:
servletConfig - servlet configuration
Throws:
ServletException - exception

initService

protected void initService()
Description copied from class: AbstractOGCServlet
Called when a reinitialization of the service is necessary, e.g. the configuration file has been altered.

Specified by:
initService in class AbstractOGCServlet

initDescriptors

private void initDescriptors()
                      throws java.io.IOException,
                             org.xml.sax.SAXException,
                             InvalidAxisDefinitionException,
                             java.lang.Exception
initializes a descriptor object for each coverage layer defined at the WCS capabilities

Throws:
java.io.IOException
org.xml.sax.SAXException
InvalidAxisDefinitionException
java.lang.Exception

initPool

private void initPool()
initializes the WCService pool


doPost

public void doPost(HttpServletRequest request,
                   HttpServletResponse response)
            throws ServletException,
                   java.io.IOException
performs a http-post request

Throws:
ServletException
java.io.IOException

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws ServletException,
                  java.io.IOException
Throws:
ServletException
java.io.IOException

toModel

private java.util.HashMap toModel(HttpServletRequest request)
Parameters:
request -
Returns: