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.HttpServlet
IOException
protected void handleDownload(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
IOException
protected void downloadBlob(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String urlPath, boolean info) throws IOException
IOException
protected 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
IOException
protected void handleDownloadTemporaryZip(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String filePath) throws IOException
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.