org.deegree_impl.enterprise
Class WFSGServlet

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

public class WFSGServlet
extends HttpServlet

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

Version:
$Revision: 1.9 $ $Date: 2004/03/29 10:36:57 $
Author:
Andreas Poth
See Also:
Serialized Form

Nested Class Summary
private  class WFSGServlet.Reloader
           
private  class WFSGServlet.WFSG
          private inner class that represents the web feature service.
 
Field Summary
private  WFSGCapabilities capa
           
protected  long capaTimestamp
           
private  GazetteerConfiguration conf
           
protected  java.net.URL confURL
           
protected  int freq
           
private  java.lang.Exception initException
           
private  int initInstances
           
private  int maxInstances
           
protected  WFSGServicePool pool
           
private  WFSGServlet.Reloader reloader
           
protected  java.net.URL url
           
 
Constructor Summary
WFSGServlet()
           
 
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 initWFSG()
          initializes the WFSG
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 WFSGServlet.Reloader reloader

url

protected java.net.URL url

confURL

protected java.net.URL confURL

capa

private WFSGCapabilities capa

conf

private GazetteerConfiguration conf

pool

protected WFSGServicePool pool

freq

protected int freq

initInstances

private int initInstances

maxInstances

private int maxInstances

capaTimestamp

protected long capaTimestamp

initException

private java.lang.Exception initException
Constructor Detail

WFSGServlet

public WFSGServlet()
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

initWFSG

protected void initWFSG()
initializes the WFSG


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: