Class WebProcessingService

  • All Implemented Interfaces:
    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 Detail

      • PROPERTY_NAME_WEBAPP_PATH

        public static String PROPERTY_NAME_WEBAPP_PATH
      • WEBAPP_PATH

        public static String WEBAPP_PATH
      • SERVLET_PATH

        public static String SERVLET_PATH
      • WPS_NAMESPACE

        public static String WPS_NAMESPACE
      • DEFAULT_LANGUAGE

        public static String DEFAULT_LANGUAGE
      • LOGGER

        protected static org.slf4j.Logger LOGGER
    • Constructor Detail

      • WebProcessingService

        public WebProcessingService()
    • Method Detail

      • init

        public void init()
                  throws javax.servlet.ServletException
        Overrides:
        init in class javax.servlet.GenericServlet
        Throws:
        javax.servlet.ServletException
      • 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
      • setServerParameters

        protected void setServerParameters()
      • doGet

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

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

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

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