Class DownloadServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.nuxeo.ecm.platform.ui.web.download.DownloadServlet
-
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class DownloadServlet extends javax.servlet.http.HttpServlet
Simple download servlet used for big files that can not be downloaded from within the JSF context (because of buffered ResponseWrapper).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DownloadServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
void
doHead(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
protected void
handleDownload(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
protected void
handleDownloadTemporaryZip(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String filePath)
Deprecated.since 9.1.-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
-
-
-
Field Detail
-
NXBIGFILE
@Deprecated public static final String NXBIGFILE
Deprecated.since 7.4, use nxfile instead- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DownloadServlet
public DownloadServlet()
-
-
Method Detail
-
doHead
public void doHead(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
- Overrides:
doHead
in classjavax.servlet.http.HttpServlet
- Throws:
IOException
-
doGet
public void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
- Overrides:
doGet
in classjavax.servlet.http.HttpServlet
- Throws:
IOException
-
handleDownload
protected void handleDownload(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
- Throws:
IOException
-
handleDownloadTemporaryZip
@Deprecated protected void handleDownloadTemporaryZip(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String filePath) throws IOException
Deprecated.since 9.1. It was defined for ClipboardActionsBean but it seems not to be used anymore.- Throws:
IOException
-
-