org.deegree_impl.enterprise
Class WCASServlet

java.lang.Object
  extended byHttpServlet
      extended byorg.deegree_impl.enterprise.WCASServlet

public class WCASServlet
extends HttpServlet

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

Version:
$Revision: 1.26 $ $Date: 2004/02/23 07:47:47 $
Author:
Andreas Poth
See Also:
Serialized Form

Nested Class Summary
private  class WCASServlet.Reloader
           
private  class WCASServlet.WCAS
          private inner class that represents the web feature service.
 
Field Summary
private  WCASCapabilities capa
           
protected  java.lang.String capabilitiesFile
           
protected  long capaTimestamp
           
protected  int freq
           
private  java.lang.Exception initException
           
private  int initInstances
           
private  int maxInstances
           
protected  WCASServicePool pool
           
private  WCASServlet.Reloader reloader
           
protected  java.net.URL url
           
private  WFSCapabilities wfsCapa
           
 
Constructor Summary
WCASServlet()
           
 
Method Summary
 void doGet(HttpServletRequest request, HttpServletResponse response)
           
 void doPost(HttpServletRequest request, HttpServletResponse response)
          performs a http-post request
private  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)
          init-method of the servlet. only once called
protected  void initWCAS()
          initializes the WCAS
private  java.util.HashMap toModel(HttpServletRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reloader

private WCASServlet.Reloader reloader

capabilitiesFile

protected java.lang.String capabilitiesFile

url

protected java.net.URL url

capa

private WCASCapabilities capa

pool

protected WCASServicePool pool

wfsCapa

private WFSCapabilities wfsCapa

freq

protected int freq

initInstances

private int initInstances

maxInstances

private int maxInstances

capaTimestamp

protected long capaTimestamp

initException

private java.lang.Exception initException
Constructor Detail

WCASServlet

public WCASServlet()
Method Detail

init

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

Parameters:
servletConfig - servlet configuration
Throws:
ServletException - exception

initWCAS

protected void initWCAS()
initializes the WCAS


doPost

public void doPost(HttpServletRequest request,
                   HttpServletResponse response)
performs a http-post request


doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)

handleError

private void handleError(java.lang.Exception ex,
                         HttpServletResponse response)
handles fatal errors by creating a OGC exception XML and sending it back to the client


toModel

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