org.jbpm.designer.server
Class MultiDownloader
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.jbpm.designer.server.MultiDownloader
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class MultiDownloader
- extends javax.servlet.http.HttpServlet
This is a rewrite of the original download.php for usage in plugins that need
to run in the Java environment.
There is no distinction between GET and POST requests, since code relying on
download.php behaviour would perform a POST to just request the download of
one or more files from the server.
- See Also:
- Serialized Form
Method Summary |
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
The GET request forwards to the performDownload method. |
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
The POST request forwards to the performDownload method. |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiDownloader
public MultiDownloader()
doGet
protected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
- The GET request forwards to the performDownload method.
- 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
- The POST request forwards to the performDownload method.
- Overrides:
doPost
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.