Package org.gcube.data.analysis.wps
Class CancelComputation
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.gcube.data.analysis.wps.CancelComputation
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class CancelComputation extends javax.servlet.http.HttpServlet- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Stringemptystatic StringSERVLET_PATH
-
Constructor Summary
Constructors Constructor Description CancelComputation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcopyResponseAsXML(InputStream inputStream, OutputStream outputStream, boolean indent, String id)protected voidcopyResponseStream(InputStream inputStream, OutputStream outputStream, String id, long contentLength)protected voiddoGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)protected voiderrorResponse(String error, javax.servlet.http.HttpServletResponse response)static ThrowablegetRootCause(Throwable t)voidinit(javax.servlet.ServletConfig config)booleanisIDValid(String id)booleanisUUIDValid(String uuid)-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
-
-
-
Field Detail
-
SERVLET_PATH
public static final String SERVLET_PATH
- See Also:
- Constant Field Values
-
empty
public static String empty
-
-
Method Detail
-
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
-
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException- Overrides:
doGetin classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionIOException
-
errorResponse
protected void errorResponse(String error, javax.servlet.http.HttpServletResponse response) throws IOException
- Throws:
IOException
-
copyResponseStream
protected void copyResponseStream(InputStream inputStream, OutputStream outputStream, String id, long contentLength) throws IOException
- Throws:
IOException
-
copyResponseAsXML
protected void copyResponseAsXML(InputStream inputStream, OutputStream outputStream, boolean indent, String id) throws IOException
- Throws:
IOException
-
isIDValid
public boolean isIDValid(String id)
-
isUUIDValid
public boolean isUUIDValid(String uuid)
-
-