org.n52.wps.server
Class WebProcessingService

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.n52.wps.server.WebProcessingService
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class WebProcessingService
extends javax.servlet.http.HttpServlet

This WPS supports HTTP GET for describeProcess and getCapabilities and XML-POST for execute.

Author:
foerster
See Also:
Serialized Form

Field Summary
static java.lang.String BASE_DIR
           
static java.lang.String DEFAULT_LANGUAGE
           
static java.lang.String PROPERTY_NAME_WEBAPP_PATH
           
static java.lang.String SERVLET_PATH
           
static java.lang.String WEBAPP_PATH
           
static java.lang.String WPS_NAMESPACE
           
 
Constructor Summary
WebProcessingService()
           
 
Method Summary
 void destroy()
           
protected  void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
protected  void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 void init(javax.servlet.ServletConfig config)
           
protected  void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_NAME_WEBAPP_PATH

public static java.lang.String PROPERTY_NAME_WEBAPP_PATH

BASE_DIR

public static java.lang.String BASE_DIR

WEBAPP_PATH

public static java.lang.String WEBAPP_PATH

SERVLET_PATH

public static java.lang.String SERVLET_PATH

WPS_NAMESPACE

public static java.lang.String WPS_NAMESPACE

DEFAULT_LANGUAGE

public static java.lang.String DEFAULT_LANGUAGE
Constructor Detail

WebProcessingService

public WebProcessingService()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

doGet

protected void doGet(javax.servlet.http.HttpServletRequest req,
                     javax.servlet.http.HttpServletResponse res)
              throws javax.servlet.ServletException,
                     java.io.IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

doPost

protected void doPost(javax.servlet.http.HttpServletRequest req,
                      javax.servlet.http.HttpServletResponse res)
               throws javax.servlet.ServletException,
                      java.io.IOException
Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

service

protected void service(javax.servlet.http.HttpServletRequest req,
                       javax.servlet.http.HttpServletResponse res)
                throws javax.servlet.ServletException,
                       java.io.IOException
Overrides:
service in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class javax.servlet.GenericServlet


Copyright © 2007-2011 52north.org. All Rights Reserved.