Package com.logicaldoc.web
Class DownloadServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.logicaldoc.web.DownloadServlet
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class DownloadServlet
extends javax.servlet.http.HttpServlet
This servlet is responsible for document downloads. It searches for the
attribute docId in any scope and extracts the proper document's content.
- Since:
- 6.0
- Author:
- Matteo Caruso - LogicalDOC
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doGet
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) The doGet method of the servlet.Methods inherited from class javax.servlet.http.HttpServlet
service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Constructor Details
-
DownloadServlet
public DownloadServlet()
-
-
Method Details
-
doGet
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) The doGet method of the servlet.
This method is called when a form has its tag value method equals to get.- Parameters:
request
- the request send by the client to the serverresponse
- the response send by the server to the client
-