Package org.gcube.data.analysis.wps
Class WebProcessingService
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.gcube.data.analysis.wps.WebProcessingService
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class WebProcessingService extends javax.servlet.http.HttpServletThis WPS supports HTTP GET for describeProcess and getCapabilities and XML-POST for execute.- Author:
- foerster
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_LANGUAGEprotected static org.slf4j.LoggerLOGGERstatic intMAXIMUM_REQUEST_SIZEstatic StringPROPERTY_NAME_WEBAPP_PATHstatic StringSERVLET_PATHstatic StringSPECIAL_XML_POST_VARIABLEstatic StringWEBAPP_PATHstatic StringWPS_NAMESPACE
-
Constructor Summary
Constructors Constructor Description WebProcessingService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()protected voiddoGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)protected voiddoPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)voidinit()voidinit(javax.servlet.ServletConfig config)protected voidservice(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)protected voidsetServerParameters()-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service
-
-
-
-
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
-
MAXIMUM_REQUEST_SIZE
public static final int MAXIMUM_REQUEST_SIZE
- See Also:
- Constant Field Values
-
SPECIAL_XML_POST_VARIABLE
public static final String SPECIAL_XML_POST_VARIABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init() throws javax.servlet.ServletException- Overrides:
initin classjavax.servlet.GenericServlet- Throws:
javax.servlet.ServletException
-
init
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException- Specified by:
initin interfacejavax.servlet.Servlet- Overrides:
initin classjavax.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:
doGetin classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionIOException
-
doPost
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException- Overrides:
doPostin classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionIOException
-
service
protected void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException- Overrides:
servicein classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionIOException
-
destroy
public void destroy()
- Specified by:
destroyin interfacejavax.servlet.Servlet- Overrides:
destroyin classjavax.servlet.GenericServlet
-
-