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.PathRefInfoFACES_SERVLET, KEY_ROOT_PATH, KEY_STORE| Constructor and Description |
|---|
DownloadRawContentServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
checkAccess, getServiceRegistry, redirectToLoginPage, resolveNamePath, resolveWebDAVPath, resolveWebDAVPath, resolveWebDAVPath, resolveWebDAVPath, servletAuthenticate, servletAuthenticate, setNoCacheHeaders, validRedirectJSPdoDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, serviceprotected void service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
java.io.IOException
service in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionjava.io.IOExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.