public class DownloadRawContentServlet extends BaseServlet
Requests can be of the form:
/alfresco/downloadDirect?contentUrl=some-url?ticket=auth?infoOnly=value contentUrl is a ContentStore-specific URL ticket is a valid authentication token for an admin user infoOnly is set to true to leave off the binary stream and just send the data about the content.This serlet is intended to be accessed to retrieve the binary content from the content stores. If you wish to retrieve content from a client, use the other content download servlets available.
The following responses are generated:
BaseServlet.PathRefInfo
FACES_SERVLET, KEY_ROOT_PATH, KEY_STORE
Constructor and Description |
---|
DownloadRawContentServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
service(HttpServletRequest req,
HttpServletResponse res) |
checkAccess, getServiceRegistry, redirectToLoginPage, redirectToLoginPage, resolveNamePath, resolveWebDAVPath, resolveWebDAVPath, resolveWebDAVPath, resolveWebDAVPath, servletAuthenticate, servletAuthenticate, setNoCacheHeaders, validRedirectJSP
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
protected void service(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
service
in class HttpServlet
ServletException
IOException
Copyright © 2005–2017 Alfresco Software. All rights reserved.