public class DownloadServlet extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description |
|---|---|
static String |
NXBIGFILE
Deprecated.
since 7.4, use nxfile instead
|
| Constructor and Description |
|---|
DownloadServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
downloadBlob(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
String urlPath,
boolean info) |
protected void |
handleDownload(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
handleDownloadSessionBlob(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
String blobId) |
protected void |
handleDownloadTemporaryZip(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
String filePath) |
protected static org.apache.commons.lang3.tuple.Pair<String,String> |
parsePath(String urlPath) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service@Deprecated public static final String NXBIGFILE
public DownloadServlet()
public void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
doGet in class javax.servlet.http.HttpServletIOExceptionprotected void handleDownload(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
IOExceptionprotected void downloadBlob(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String urlPath, boolean info) throws IOException
IOExceptionprotected static org.apache.commons.lang3.tuple.Pair<String,String> parsePath(String urlPath)
protected void handleDownloadSessionBlob(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String blobId) throws IOException
IOExceptionprotected void handleDownloadTemporaryZip(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String filePath) throws IOException
IOExceptionCopyright © 2016 Nuxeo SA. All rights reserved.